summaryrefslogtreecommitdiff
path: root/java/src/Ice/Application.java
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2014-08-07 14:05:44 -0230
committerMatthew Newhook <matthew@zeroc.com>2014-08-07 14:05:44 -0230
commite3a672a438635a1173388aea9d7a2d44de358945 (patch)
tree57113ece1dd013c9687468a8dd7cc62c80136b86 /java/src/Ice/Application.java
parentICE-5457 added ability to set source address for connections (diff)
downloadice-e3a672a438635a1173388aea9d7a2d44de358945.tar.bz2
ice-e3a672a438635a1173388aea9d7a2d44de358945.tar.xz
ice-e3a672a438635a1173388aea9d7a2d44de358945.zip
Add @Override where possible, and remove trailing white space.
Diffstat (limited to 'java/src/Ice/Application.java')
-rw-r--r--java/src/Ice/Application.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/java/src/Ice/Application.java b/java/src/Ice/Application.java
index bf6543ce380..3c649f72301 100644
--- a/java/src/Ice/Application.java
+++ b/java/src/Ice/Application.java
@@ -155,7 +155,7 @@ public abstract class Application
//
// We parse the properties here to extract Ice.ProgramName.
- //
+ //
InitializationData initData;
if(initializationData != null)
{
@@ -376,7 +376,7 @@ public abstract class Application
"interrupt method called on Application configured to not handle interrupts.");
}
}
-
+
/**
* Instructs <code>Application</code> to call {@link Communicator#shutdown} on receipt of a signal.
*
@@ -445,7 +445,7 @@ public abstract class Application
"interrupt method called on Application configured to not handle interrupts.");
}
}
-
+
/**
* Clears any shutdown hooks, including any hook established with {@link #destroyOnInterrupt}code> or
* {@link #shutdownOnInterrupt}.
@@ -563,6 +563,7 @@ public abstract class Application
static class DestroyHook extends AppHook
{
+ @Override
public void
run()
{
@@ -597,6 +598,7 @@ public abstract class Application
static class ShutdownHook extends AppHook
{
+ @Override
public void
run()
{
@@ -640,6 +642,7 @@ public abstract class Application
_hook = hook;
}
+ @Override
public void
run()
{
@@ -649,7 +652,7 @@ public abstract class Application
{
return;
}
-
+
_hook.run();
clearCallbackInProgress();