geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jasonhu...@apache.org
Subject incubator-geode git commit: GEODE-1675: Cast to DeltaSessionInterface instead of DeltaSession
Date Thu, 25 Aug 2016 21:24:33 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/develop 44b528d10 -> 7f4992c29


GEODE-1675: Cast to DeltaSessionInterface instead of DeltaSession


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

Branch: refs/heads/develop
Commit: 7f4992c29c1b778a3b7196268084164558c4913f
Parents: 44b528d
Author: Jason Huynh <huynhja@gmail.com>
Authored: Thu Aug 25 08:23:06 2016 -0700
Committer: Jason Huynh <huynhja@gmail.com>
Committed: Thu Aug 25 14:18:48 2016 -0700

----------------------------------------------------------------------
 .../catalina/callback/SessionExpirationCacheListener.java      | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/7f4992c2/extensions/geode-modules/src/main/java/com/gemstone/gemfire/modules/session/catalina/callback/SessionExpirationCacheListener.java
----------------------------------------------------------------------
diff --git a/extensions/geode-modules/src/main/java/com/gemstone/gemfire/modules/session/catalina/callback/SessionExpirationCacheListener.java
b/extensions/geode-modules/src/main/java/com/gemstone/gemfire/modules/session/catalina/callback/SessionExpirationCacheListener.java
index 4fd1136..da9fffc 100644
--- a/extensions/geode-modules/src/main/java/com/gemstone/gemfire/modules/session/catalina/callback/SessionExpirationCacheListener.java
+++ b/extensions/geode-modules/src/main/java/com/gemstone/gemfire/modules/session/catalina/callback/SessionExpirationCacheListener.java
@@ -20,9 +20,7 @@ import com.gemstone.gemfire.cache.Declarable;
 import com.gemstone.gemfire.cache.EntryEvent;
 import com.gemstone.gemfire.cache.Operation;
 import com.gemstone.gemfire.cache.util.CacheListenerAdapter;
-import com.gemstone.gemfire.modules.session.catalina.DeltaSession;
 import com.gemstone.gemfire.modules.session.catalina.DeltaSessionInterface;
-import com.gemstone.gemfire.modules.session.catalina.DeltaSessionManager;
 import com.gemstone.gemfire.modules.util.ContextMapper;
 
 import javax.servlet.http.HttpSession;
@@ -48,8 +46,8 @@ public class SessionExpirationCacheListener extends CacheListenerAdapter<String,
        * gemfire.EXPIRE_SENDS_ENTRY_AS_CALLBACK.
        */
       Object callback = event.getCallbackArgument();
-      if (callback != null && callback instanceof DeltaSession) {
-        session = (DeltaSession) callback;
+      if (callback != null && callback instanceof DeltaSessionInterface) {
+        session = (DeltaSessionInterface) callback;
         ManagerBase m = ContextMapper.getContext(session.getContextName());
         if (m != null) {
           session.setOwner(m);


Mime
View raw message