geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dschnei...@apache.org
Subject [14/50] [abbrv] incubator-geode git commit: removed setCallbackArgument from EntryOperationImpl
Date Thu, 02 Jun 2016 00:10:01 GMT
removed setCallbackArgument from EntryOperationImpl


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

Branch: refs/heads/feature/GEODE-1464
Commit: bbbf1565358779164abc36824539bcb600f21965
Parents: 6dca01d
Author: Darrel Schneider <dschneider@pivotal.io>
Authored: Wed Jun 1 15:47:03 2016 -0700
Committer: Darrel Schneider <dschneider@pivotal.io>
Committed: Wed Jun 1 15:47:03 2016 -0700

----------------------------------------------------------------------
 .../gemfire/internal/cache/EntryOperationImpl.java   | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/bbbf1565/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/EntryOperationImpl.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/EntryOperationImpl.java
b/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/EntryOperationImpl.java
index d539366..2c880c6 100755
--- a/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/EntryOperationImpl.java
+++ b/geode-core/src/main/java/com/gemstone/gemfire/internal/cache/EntryOperationImpl.java
@@ -38,7 +38,7 @@ public class EntryOperationImpl implements EntryOperation {
 
   private final Object key;
 
-  private Object callbackArgument = Token.NOT_AVAILABLE;
+  private final Object callbackArgument;
 
   public EntryOperationImpl(Region region, Operation operation, Object key,
       Object value, Object callbackArgument) {
@@ -102,17 +102,4 @@ public class EntryOperationImpl implements EntryOperation {
   public Object getRawNewValue() {
     return this.value;
   }
-
-  /**
-   * Method for internal use. (Used by SQLFabric)
-   */
-  public void setCallbackArgument(Object newCallbackArgument) {
-    if (this.callbackArgument instanceof WrappedCallbackArgument) {
-      ((WrappedCallbackArgument)this.callbackArgument)
-          .setOriginalCallbackArgument(newCallbackArgument);
-    }
-    else {
-      this.callbackArgument = newCallbackArgument;
-    }
-  }
 }


Mime
View raw message