summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/CommunicatorBatchOutgoingAsync.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/IceInternal/CommunicatorBatchOutgoingAsync.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/IceInternal/CommunicatorBatchOutgoingAsync.java')
-rw-r--r--java/src/IceInternal/CommunicatorBatchOutgoingAsync.java16
1 files changed, 9 insertions, 7 deletions
diff --git a/java/src/IceInternal/CommunicatorBatchOutgoingAsync.java b/java/src/IceInternal/CommunicatorBatchOutgoingAsync.java
index 8f7f2707a7f..6e96ea9f81f 100644
--- a/java/src/IceInternal/CommunicatorBatchOutgoingAsync.java
+++ b/java/src/IceInternal/CommunicatorBatchOutgoingAsync.java
@@ -38,16 +38,17 @@ public class CommunicatorBatchOutgoingAsync extends Ice.AsyncResult
{
class BatchOutgoingAsyncI extends BatchOutgoingAsync
{
- public
+ public
BatchOutgoingAsyncI()
{
- super(CommunicatorBatchOutgoingAsync.this._communicator,
- CommunicatorBatchOutgoingAsync.this._instance,
- CommunicatorBatchOutgoingAsync.this._operation,
+ super(CommunicatorBatchOutgoingAsync.this._communicator,
+ CommunicatorBatchOutgoingAsync.this._instance,
+ CommunicatorBatchOutgoingAsync.this._operation,
null);
}
- public boolean
+ @Override
+ public boolean
__sent()
{
if(_childObserver != null)
@@ -59,7 +60,7 @@ public class CommunicatorBatchOutgoingAsync extends Ice.AsyncResult
return false;
}
- public void
+ public void
__finished(Ice.LocalException ex, boolean sent)
{
if(_childObserver != null)
@@ -71,6 +72,7 @@ public class CommunicatorBatchOutgoingAsync extends Ice.AsyncResult
check(false);
}
+ @Override
public void
__attachRemoteObserver(Ice.ConnectionInfo info, Ice.Endpoint endpt, int requestId, int size)
{
@@ -90,7 +92,7 @@ public class CommunicatorBatchOutgoingAsync extends Ice.AsyncResult
{
++_useCount;
}
-
+
try
{
int status = con.flushAsyncBatchRequests(new BatchOutgoingAsyncI());