(no commit message)
[utils] / wicket / components / src / main / java / org / wamblee / wicket / page / ExpireBehavior.java
index 10a65541cd6fb715d51b43d87a2613eaf7cc9911..08fe1351d07fd3dd971f1ffa1f41b164148aed7e 100644 (file)
@@ -20,19 +20,20 @@ import java.util.logging.Logger;
 import org.apache.wicket.markup.html.WebPage;
 
 /**
- * Bahevior that will expire a page when the page is disabled.
- * Implementations should implemnet 
+ * Bahevior that will expire a page when the page is disabled. Implementations
+ * should implemnet
  * 
  * @author Erik Brakkee
  * 
  */
 public abstract class ExpireBehavior extends AbstractPageBehavior {
-    private static final Logger LOGGER = Logger.getLogger(ExpireBehavior.class.getName());
+    private static final Logger LOGGER = Logger.getLogger(ExpireBehavior.class
+        .getName());
 
     /**
      * Constructs the behavior.
      */
-    public ExpireBehavior() { 
+    public ExpireBehavior() {
         super();
     }
 
@@ -42,13 +43,16 @@ public abstract class ExpireBehavior extends AbstractPageBehavior {
             aPage.getPageMap().remove(aPage);
         }
     }
-    
+
     /**
      * Must be implemented to determine if a page is expired.
-     * @param aPage Page to check. If a behavior instance is only used on one page then this 
-     *     argument is always that page so it can bne ignored in that case.
+     * 
+     * @param aPage
+     *            Page to check. If a behavior instance is only used on one page
+     *            then this argument is always that page so it can bne ignored
+     *            in that case.
      * @return
      */
-    protected abstract boolean isExpired(WebPage aPage); 
-    
+    protected abstract boolean isExpired(WebPage aPage);
+
 }