diff options
Diffstat (limited to 'java/test/Ice/retry/Server.java')
-rw-r--r-- | java/test/Ice/retry/Server.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/java/test/Ice/retry/Server.java b/java/test/Ice/retry/Server.java index ae0e79d2886..25cb40a1445 100644 --- a/java/test/Ice/retry/Server.java +++ b/java/test/Ice/retry/Server.java @@ -12,15 +12,15 @@ public class Server public static int run(String[] args, Ice.Communicator communicator, java.io.PrintStream out) { - // - // When running as a MIDlet the properties for the server may be - // overridden by configuration. If it isn't then we assume - // defaults. - // - if(communicator.getProperties().getProperty("Ice.OA.TestAdapter.Endpoints").length() == 0) - { - communicator.getProperties().setProperty("Ice.OA.TestAdapter.Endpoints", "default -p 12010 -t 10000"); - } + // + // When running as a MIDlet the properties for the server may be + // overridden by configuration. If it isn't then we assume + // defaults. + // + if(communicator.getProperties().getProperty("Ice.OA.TestAdapter.Endpoints").length() == 0) + { + communicator.getProperties().setProperty("Ice.OA.TestAdapter.Endpoints", "default -p 12010 -t 10000"); + } Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter"); adapter.add(new RetryI(), communicator.stringToIdentity("retry")); @@ -60,7 +60,7 @@ public class Server } } - System.gc(); + System.gc(); System.exit(status); } } |