diff options
Diffstat (limited to 'java/demo/Freeze/phonebook/Client.java')
-rw-r--r-- | java/demo/Freeze/phonebook/Client.java | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/java/demo/Freeze/phonebook/Client.java b/java/demo/Freeze/phonebook/Client.java index f2254da95b4..4b465773d99 100644 --- a/java/demo/Freeze/phonebook/Client.java +++ b/java/demo/Freeze/phonebook/Client.java @@ -11,37 +11,37 @@ public class Client extends Ice.Application { class ShutdownHook extends Thread { - public void - run() - { - try - { - communicator().destroy(); - } - catch(Ice.LocalException ex) - { - ex.printStackTrace(); - } - } + public void + run() + { + try + { + communicator().destroy(); + } + catch(Ice.LocalException ex) + { + ex.printStackTrace(); + } + } } public int run(String[] args) { - // - // Since this is an interactive demo we want to clear the - // Application installed interrupt callback and install our - // own shutdown hook. - // - setInterruptHook(new ShutdownHook()); + // + // Since this is an interactive demo we want to clear the + // Application installed interrupt callback and install our + // own shutdown hook. + // + setInterruptHook(new ShutdownHook()); - return RunParser.runParser(appName(), args, communicator()); + return RunParser.runParser(appName(), args, communicator()); } static public void main(String[] args) { - Client app = new Client(); - app.main("demo.Freeze.phonebook.Client", args, "config.client"); + Client app = new Client(); + app.main("demo.Freeze.phonebook.Client", args, "config.client"); } } |