diff options
Diffstat (limited to 'java/demo/Ice/invoke/Client.java')
-rw-r--r-- | java/demo/Ice/invoke/Client.java | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/java/demo/Ice/invoke/Client.java b/java/demo/Ice/invoke/Client.java index 362c1401f28..1d6cb450fab 100644 --- a/java/demo/Ice/invoke/Client.java +++ b/java/demo/Ice/invoke/Client.java @@ -32,29 +32,29 @@ 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()); Ice.ObjectPrx obj = communicator().propertyToProxy("Printer.Proxy"); |