Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit af34de7f6274b09e667081501b19deb8ce6db7a0 1 parent e600253
@martin-g martin-g authored
View
8 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()
{
Please sign in to comment.
Something went wrong with that request. Please try again.