(no commit message)
[utils] / wicket / joe / src / main / java / org / wamblee / wicket / inject / InjectionBehavior.java
index 3d648c4e8c4da65a9fca7ca3c5997f9812035e5f..659be7a75a3fdbd90cbab7a6be898a8e8cd3fbf7 100644 (file)
@@ -21,27 +21,28 @@ import org.wamblee.inject.InjectorBuilder;
 
 /**
  * Injection behavior that performs dependency injection after
- * serialization/deserialisation of the object. 
+ * serialization/deserialisation of the object.
  * 
  * @author Erik Brakkee
- *
+ * 
  */
 public class InjectionBehavior extends AbstractBehavior {
 
+    private static final long serialVersionUID = 7363393083209418693L;
     private transient boolean injectionUptodate;
-    
+
     /**
      * Constructs the behavior.
      */
-    public InjectionBehavior() { 
-        injectionUptodate = true; 
+    public InjectionBehavior() {
+        injectionUptodate = true;
     }
-    
+
     @Override
     public void beforeRender(Component aComponent) {
-        if (!injectionUptodate) { 
+        if (!injectionUptodate) {
             InjectorBuilder.getInjector().inject(aComponent);
-            injectionUptodate = true; 
+            injectionUptodate = true;
         }
     }
 }