summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/Application/ServerTemplate.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/IceGridGUI/Application/ServerTemplate.java')
-rwxr-xr-xjava/src/IceGridGUI/Application/ServerTemplate.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/java/src/IceGridGUI/Application/ServerTemplate.java b/java/src/IceGridGUI/Application/ServerTemplate.java
index eb60181035e..c2d01a2da6f 100755
--- a/java/src/IceGridGUI/Application/ServerTemplate.java
+++ b/java/src/IceGridGUI/Application/ServerTemplate.java
@@ -340,14 +340,9 @@ class ServerTemplate extends Communicator
return _editable;
}
- java.util.List findInstances(boolean includeTemplate)
+ java.util.List findInstances()
{
- java.util.List result = getRoot().findServerInstances(_id);
- if(includeTemplate)
- {
- result.add(0, this);
- }
- return result;
+ return getRoot().findServerInstances(_id);
}
private TemplateDescriptor _templateDescriptor;