geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [03/12] geode git commit: GEODE-2684 Connection & ConnectionTable cleanup
Date Fri, 07 Apr 2017 19:49:54 GMT
GEODE-2684 Connection & ConnectionTable cleanup

removed another old comment


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/742c8f27
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/742c8f27
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/742c8f27

Branch: refs/heads/feature/GEODE-2632
Commit: 742c8f27ea45ec55445f1047fda3c54b86f89f94
Parents: 6b2b7b2
Author: Bruce Schuchardt <bschuchardt@pivotal.io>
Authored: Wed Apr 5 16:49:07 2017 -0700
Committer: Bruce Schuchardt <bschuchardt@pivotal.io>
Committed: Wed Apr 5 16:49:07 2017 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/geode/internal/tcp/Connection.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/742c8f27/geode-core/src/main/java/org/apache/geode/internal/tcp/Connection.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/internal/tcp/Connection.java b/geode-core/src/main/java/org/apache/geode/internal/tcp/Connection.java
index c57a0ba..70868e0 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/tcp/Connection.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/tcp/Connection.java
@@ -3939,9 +3939,9 @@ public class Connection implements Runnable {
       nioInputBuffer = Buffers.acquireReceiveBuffer(allocSize, stats);
 
       if (oldBuffer != null) {
-        int oldByteCount = oldBuffer.remaining(); // needed to workaround JRockit 1.4.2.04
bug
+        int oldByteCount = oldBuffer.remaining();
         nioInputBuffer.put(oldBuffer);
-        nioInputBuffer.position(oldByteCount); // workaround JRockit 1.4.2.04 bug
+        nioInputBuffer.position(oldByteCount);
         Buffers.releaseReceiveBuffer(oldBuffer, stats);
       }
     } else {


Mime
View raw message