From 4df583f8e4785296e4c4b592d24bba5f1fd02136 Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Wed, 31 May 2006 22:52:08 +0000 Subject: Fixed various bugs --- java/src/IceGridGUI/Application/PlainService.java | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'java/src/IceGridGUI/Application/PlainService.java') diff --git a/java/src/IceGridGUI/Application/PlainService.java b/java/src/IceGridGUI/Application/PlainService.java index 67734554064..1b417427d47 100755 --- a/java/src/IceGridGUI/Application/PlainService.java +++ b/java/src/IceGridGUI/Application/PlainService.java @@ -171,28 +171,6 @@ class PlainService extends Communicator implements Service, Cloneable ((Communicator)_parent).getServices().move(this, up); } - - java.util.List findInstances(boolean includeTemplate) - { - java.util.List result = new java.util.LinkedList(); - - // - // First find all instances of the enclosing Communicator, including - // the ServerTemplate itself (if that's my parent) - // - java.util.List communicatorList = ((Communicator)_parent).findInstances(true); - - java.util.Iterator p = communicatorList.iterator(); - while(p.hasNext()) - { - Services services = ((Communicator)p.next()).getServices(); - Service service = (Service)services.findChildWithDescriptor(_descriptor); - assert service != null; - result.add(service); - } - return result; - } - public Object rebuild(java.util.List editables) throws UpdateFailedException { -- cgit v1.2.3