diff options
Diffstat (limited to 'java/demo/IceGrid/simple/Server.java')
-rw-r--r-- | java/demo/IceGrid/simple/Server.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/java/demo/IceGrid/simple/Server.java b/java/demo/IceGrid/simple/Server.java index b622578f9f4..1c7722e7a71 100644 --- a/java/demo/IceGrid/simple/Server.java +++ b/java/demo/IceGrid/simple/Server.java @@ -13,8 +13,8 @@ public class Server extends Ice.Application run(String[] args) { Ice.ObjectAdapter adapter = communicator().createObjectAdapter("Hello"); - Ice.Properties properties = communicator().getProperties(); - Ice.Identity id = communicator().stringToIdentity(properties.getProperty("Identity")); + Ice.Properties properties = communicator().getProperties(); + Ice.Identity id = communicator().stringToIdentity(properties.getProperty("Identity")); adapter.add(new HelloI(properties.getProperty("Ice.ServerId")), id); adapter.activate(); communicator().waitForShutdown(); @@ -24,8 +24,8 @@ public class Server extends Ice.Application static public void main(String[] args) { - Server app = new Server(); - int status = app.main("Server", args); - System.exit(status); + Server app = new Server(); + int status = app.main("Server", args); + System.exit(status); } } |