Permalink
Browse files

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'
  • Loading branch information...
1 parent e600253 commit af34de7f6274b09e667081501b19deb8ce6db7a0 @martin-g martin-g committed Apr 4, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 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 @@
* @author igor
*/
@ConversationScoped
-public class AutoConversation implements Serializable
+public class AutoConversation implements IClusterable
{
- private Boolean automatic;
+ private boolean automatic;
public AutoConversation()
{

0 comments on commit af34de7

Please sign in to comment.