diff options
Diffstat (limited to 'java/test/Ice/faultTolerance/Server.java')
-rw-r--r-- | java/test/Ice/faultTolerance/Server.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/java/test/Ice/faultTolerance/Server.java b/java/test/Ice/faultTolerance/Server.java index 2a346e70a3c..c9a3b388600 100644 --- a/java/test/Ice/faultTolerance/Server.java +++ b/java/test/Ice/faultTolerance/Server.java @@ -20,9 +20,9 @@ public class Server run(String[] args, Ice.Communicator communicator) { int port = 0; - for (int i = 0; i < args.length; i++) + for(int i = 0; i < args.length; i++) { - if (args[i].charAt(0) == '-') + if(args[i].charAt(0) == '-') { // // TODO: Arguments recognized by the communicator are not @@ -34,7 +34,7 @@ public class Server continue; } - if (port > 0) + if(port > 0) { System.err.println("Server: only one port can be specified"); usage(); @@ -53,7 +53,7 @@ public class Server } } - if (port <= 0) + if(port <= 0) { System.err.println("Server: no port specified"); usage(); @@ -88,7 +88,7 @@ public class Server status = 1; } - if (communicator != null) + if(communicator != null) { try { |