You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2013/04/04 16:27:05 UTC
[2/2] git commit: Make AutoConversation IClusterable - just in case
someone still uses Terracotta integration.
Make AutoConversation IClusterable - just in case someone still uses Terracotta integration.
Make the field a simple boolean, afais there is no chance to make it 'null'
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/af34de7f
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/af34de7f
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/af34de7f
Branch: refs/heads/master
Commit: af34de7f6274b09e667081501b19deb8ce6db7a0
Parents: e600253
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Thu Apr 4 17:24:56 2013 +0300
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Thu Apr 4 17:24:56 2013 +0300
----------------------------------------------------------------------
.../org/apache/wicket/cdi/AutoConversation.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/af34de7f/wicket-cdi/src/main/java/org/apache/wicket/cdi/AutoConversation.java
----------------------------------------------------------------------
diff --git a/wicket-cdi/src/main/java/org/apache/wicket/cdi/AutoConversation.java b/wicket-cdi/src/main/java/org/apache/wicket/cdi/AutoConversation.java
index 62d078f..0193a7d 100644
--- a/wicket-cdi/src/main/java/org/apache/wicket/cdi/AutoConversation.java
+++ b/wicket-cdi/src/main/java/org/apache/wicket/cdi/AutoConversation.java
@@ -16,10 +16,10 @@
*/
package org.apache.wicket.cdi;
-import java.io.Serializable;
-
import javax.enterprise.context.ConversationScoped;
+import org.apache.wicket.util.io.IClusterable;
+
/**
* A bean that can be used to override whether the lifecycle of the conversation should be managed
* automatically or not. See {@link CdiConfiguration#setAutoConversationManagement(boolean)} for
@@ -28,9 +28,9 @@ import javax.enterprise.context.ConversationScoped;
* @author igor
*/
@ConversationScoped
-public class AutoConversation implements Serializable
+public class AutoConversation implements IClusterable
{
- private Boolean automatic;
+ private boolean automatic;
public AutoConversation()
{