summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/Application/ServerInstance.java
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-08-30 02:29:21 +0200
committerJose <jose@zeroc.com>2012-08-30 02:29:21 +0200
commit59f7dc2cff82f159ee8c8ab85267f0e224f3b9f7 (patch)
tree5d287d48584c61694889958da4c5d8318eb6fa54 /java/src/IceGridGUI/Application/ServerInstance.java
parentMinor fixes (diff)
downloadice-59f7dc2cff82f159ee8c8ab85267f0e224f3b9f7.tar.bz2
ice-59f7dc2cff82f159ee8c8ab85267f0e224f3b9f7.tar.xz
ice-59f7dc2cff82f159ee8c8ab85267f0e224f3b9f7.zip
FIX Java 7 warnings
Diffstat (limited to 'java/src/IceGridGUI/Application/ServerInstance.java')
-rw-r--r--java/src/IceGridGUI/Application/ServerInstance.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/IceGridGUI/Application/ServerInstance.java b/java/src/IceGridGUI/Application/ServerInstance.java
index 16ac89f58dc..5dc56a6df96 100644
--- a/java/src/IceGridGUI/Application/ServerInstance.java
+++ b/java/src/IceGridGUI/Application/ServerInstance.java
@@ -437,7 +437,7 @@ class ServerInstance extends ListTreeNode implements Server, PropertySetParent
return _editable;
}
- Object[] getServiceNames()
+ String[] getServiceNames()
{
assert _isIceBox;
@@ -447,7 +447,7 @@ class ServerInstance extends ListTreeNode implements Server, PropertySetParent
Communicator.ChildList services = getRoot().findServerTemplate(_descriptor.template).getServices();
- Object[] result = new Object[services.size()];
+ String[] result = new String[services.size()];
int i = 0;
java.util.Iterator p = services.iterator();