geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject geode git commit: fix serialization of SelectExecStep
Date Thu, 11 May 2017 20:59:20 GMT
Repository: geode
Updated Branches:
  refs/heads/feature/GEODE-2632-12 8c2210db8 -> cd718b1b9


fix serialization of SelectExecStep


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

Branch: refs/heads/feature/GEODE-2632-12
Commit: cd718b1b9e498eed26fed05566eebada38ad34a2
Parents: 8c2210d
Author: Kirk Lund <klund@apache.org>
Authored: Thu May 11 13:58:55 2017 -0700
Committer: Kirk Lund <klund@apache.org>
Committed: Thu May 11 13:58:55 2017 -0700

----------------------------------------------------------------------
 .../geode/management/internal/cli/commands/DataCommands.java    | 2 +-
 .../management/internal/cli/functions/DataCommandFunction.java  | 5 +----
 2 files changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/cd718b1b/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/DataCommands.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/DataCommands.java
b/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/DataCommands.java
index 36197cd..46ee2b0 100644
--- a/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/DataCommands.java
+++ b/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/DataCommands.java
@@ -1132,7 +1132,7 @@ public class DataCommands implements CommandMarker {
     }
 
     Object[] arguments = new Object[] {query, stepName, interactive};
-    CLIStep exec = new DataCommandFunction.SelectExecStep(arguments, getCache());
+    CLIStep exec = new DataCommandFunction.SelectExecStep(arguments);
     CLIStep display = new DataCommandFunction.SelectDisplayStep(arguments);
     CLIStep move = new DataCommandFunction.SelectMoveStep(arguments);
     CLIStep quit = new DataCommandFunction.SelectQuitStep(arguments);

http://git-wip-us.apache.org/repos/asf/geode/blob/cd718b1b/geode-core/src/main/java/org/apache/geode/management/internal/cli/functions/DataCommandFunction.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/management/internal/cli/functions/DataCommandFunction.java
b/geode-core/src/main/java/org/apache/geode/management/internal/cli/functions/DataCommandFunction.java
index 1ad5eeb..8620cff 100644
--- a/geode-core/src/main/java/org/apache/geode/management/internal/cli/functions/DataCommandFunction.java
+++ b/geode-core/src/main/java/org/apache/geode/management/internal/cli/functions/DataCommandFunction.java
@@ -924,11 +924,8 @@ public class DataCommandFunction extends FunctionAdapter implements InternalEnti
 
     private static SecurityService securityService = SecurityService.getSecurityService();
 
-    private final InternalCache cache;
-
-    public SelectExecStep(Object[] arguments, final InternalCache cache) {
+    public SelectExecStep(Object[] arguments) {
       super(SELECT_STEP_EXEC, arguments);
-      this.cache = cache;
     }
 
     @Override


Mime
View raw message