Author: dashorst
Date: Thu Nov 30 07:43:05 2006
New Revision: 480972
URL: http://svn.apache.org/viewvc?view=rev&rev=480972
Log:
Formatting and organize imports
Modified:
incubator/wicket/branches/wicket-1.x/wicket/src/test/java/wicket/TestDetachPage.java
Modified:
incubator/wicket/branches/wicket-1.x/wicket/src/test/java/wicket/TestDetachPage.java
URL:
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/test/java/wicket/TestDetachPage.java?view=diff&rev=480972&r1=480971&r2=480972
==============================================================================
---
incubator/wicket/branches/wicket-1.x/wicket/src/test/java/wicket/TestDetachPage.java
(original)
+++
incubator/wicket/branches/wicket-1.x/wicket/src/test/java/wicket/TestDetachPage.java
Thu Nov 30 07:43:05 2006
@@ -18,7 +18,6 @@
import wicket.ajax.AjaxEventBehavior;
import wicket.ajax.AjaxRequestTarget;
-import wicket.behavior.IBehavior;
import wicket.markup.html.WebPage;
import wicket.markup.html.basic.Label;
import wicket.model.IModel;
@@ -115,21 +114,21 @@
};
label.setOutputMarkupId(true);
ajaxEventBehavior = new AjaxEventBehavior("onclick")
- {
- /** for serialization.
*/
- private static final
long serialVersionUID = 1L;
-
- public void
detachModel(Component component)
- {
-
nrAjaxBehaviorDetachModelCalls++;
-
super.detachModel(component);
- }
-
- protected void
onEvent(AjaxRequestTarget target)
- {
-
target.addComponent(label);
- }
- };
+ {
+ /** for serialization. */
+ private static final long serialVersionUID = 1L;
+
+ public void detachModel(Component component)
+ {
+ nrAjaxBehaviorDetachModelCalls++;
+ super.detachModel(component);
+ }
+
+ protected void onEvent(AjaxRequestTarget target)
+ {
+ target.addComponent(label);
+ }
+ };
label.add(ajaxEventBehavior);
add(label);
}