You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ds...@apache.org on 2015/07/25 01:16:11 UTC

[48/50] incubator-geode git commit: made field private

made field private


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

Branch: refs/heads/feature/GEODE-86
Commit: 3d83a1cfd0b48a509142e448fd6f8a8af78d9e0c
Parents: 162cef1
Author: Darrel Schneider <ds...@pivotal.io>
Authored: Fri Jul 24 14:19:41 2015 -0700
Committer: Darrel Schneider <ds...@pivotal.io>
Committed: Fri Jul 24 14:19:41 2015 -0700

----------------------------------------------------------------------
 .../gemfire/cache/operations/KeyValueOperationContext.java         | 2 +-
 .../gemfire/cache/operations/internal/GetOperationContextImpl.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/3d83a1cf/gemfire-core/src/main/java/com/gemstone/gemfire/cache/operations/KeyValueOperationContext.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/cache/operations/KeyValueOperationContext.java b/gemfire-core/src/main/java/com/gemstone/gemfire/cache/operations/KeyValueOperationContext.java
index c63537f..4b1af3f 100644
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/cache/operations/KeyValueOperationContext.java
+++ b/gemfire-core/src/main/java/com/gemstone/gemfire/cache/operations/KeyValueOperationContext.java
@@ -26,7 +26,7 @@ public abstract class KeyValueOperationContext extends KeyOperationContext {
    * The value of the create/update operation.
    * @since 6.5
    */
-  protected /* TODO change to private */Object value;
+  private Object value;
   
   /**
    * True when the serialized object is a normal object; false when it is a raw

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/3d83a1cf/gemfire-core/src/main/java/com/gemstone/gemfire/cache/operations/internal/GetOperationContextImpl.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/cache/operations/internal/GetOperationContextImpl.java b/gemfire-core/src/main/java/com/gemstone/gemfire/cache/operations/internal/GetOperationContextImpl.java
index 2da755e..7772c84 100644
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/cache/operations/internal/GetOperationContextImpl.java
+++ b/gemfire-core/src/main/java/com/gemstone/gemfire/cache/operations/internal/GetOperationContextImpl.java
@@ -100,7 +100,7 @@ public class GetOperationContextImpl extends GetOperationContext implements Rele
     // our value (since this context did not retain it)
     // but we do make sure that any future attempt to access
     // the off-heap value fails.
-    if (this.value instanceof Chunk) {
+    if (super.getValue() instanceof Chunk) {
       this.released = true;
     }
   }