You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by pa...@apache.org on 2012/04/19 11:09:30 UTC
[2/22] git commit: Actually compare something
Actually compare something
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/15d7b85f
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/15d7b85f
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/15d7b85f
Branch: refs/heads/sandbox/atmosphere
Commit: 15d7b85f72f612ed47e3d37554f1e33121af60bd
Parents: e150a37
Author: Emond Papegaaij <pa...@apache.org>
Authored: Tue Apr 3 16:51:55 2012 +0200
Committer: Emond Papegaaij <pa...@apache.org>
Committed: Thu Apr 19 11:07:55 2012 +0200
----------------------------------------------------------------------
.../java/org/apache/wicket/atmosphere/PageKey.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/15d7b85f/wicket-atmosphere/src/main/java/org/apache/wicket/atmosphere/PageKey.java
----------------------------------------------------------------------
diff --git a/wicket-atmosphere/src/main/java/org/apache/wicket/atmosphere/PageKey.java b/wicket-atmosphere/src/main/java/org/apache/wicket/atmosphere/PageKey.java
index 18cf742..07092ee 100644
--- a/wicket-atmosphere/src/main/java/org/apache/wicket/atmosphere/PageKey.java
+++ b/wicket-atmosphere/src/main/java/org/apache/wicket/atmosphere/PageKey.java
@@ -26,7 +26,7 @@ public class PageKey
public boolean isForSession(String sessionId)
{
- return sessionId.equals(sessionId);
+ return getSessionId().equals(sessionId);
}
@Override
@@ -40,7 +40,7 @@ public class PageKey
{
if (obj instanceof PageKey)
{
- PageKey other = (PageKey) obj;
+ PageKey other = (PageKey)obj;
return Objects.equal(pageId, other.pageId) && Objects.equal(sessionId, other.sessionId);
}
return false;