http://git-wip-us.apache.org/repos/asf/wicket/blob/092a4535/wicket-examples/src/main/java/org/apache/wicket/examples/wizard/WizardApplication.java
----------------------------------------------------------------------
diff --git 
a/wicket-examples/src/main/java/org/apache/wicket/examples/wizard/WizardApplication.java
 
b/wicket-examples/src/main/java/org/apache/wicket/examples/wizard/WizardApplication.java
index 94e85fa..20e9dde 100644
--- 
a/wicket-examples/src/main/java/org/apache/wicket/examples/wizard/WizardApplication.java
+++ 
b/wicket-examples/src/main/java/org/apache/wicket/examples/wizard/WizardApplication.java
@@ -26,18 +26,12 @@ import org.apache.wicket.protocol.http.WebApplication;
  */
 public class WizardApplication extends WebApplication
 {
-       /**
-        * @see org.apache.wicket.Application#getHomePage()
-        */
        @Override
        public Class<? extends Page> getHomePage()
        {
                return Index.class;
        }
 
-       /**
-        * @see org.apache.wicket.protocol.http.WebApplication#init()
-        */
        @Override
        protected void init()
        {

http://git-wip-us.apache.org/repos/asf/wicket/blob/092a4535/wicket-examples/src/main/java/org/apache/wicket/examples/wizard/WizardPage.java
----------------------------------------------------------------------
diff --git 
a/wicket-examples/src/main/java/org/apache/wicket/examples/wizard/WizardPage.java
 
b/wicket-examples/src/main/java/org/apache/wicket/examples/wizard/WizardPage.java
index 97de853..ab568b1 100644
--- 
a/wicket-examples/src/main/java/org/apache/wicket/examples/wizard/WizardPage.java
+++ 
b/wicket-examples/src/main/java/org/apache/wicket/examples/wizard/WizardPage.java
@@ -23,6 +23,7 @@ import org.apache.wicket.extensions.wizard.Wizard;
 import org.apache.wicket.markup.head.CssHeaderItem;
 import org.apache.wicket.markup.head.IHeaderResponse;
 import org.apache.wicket.request.resource.CssResourceReference;
+import org.apache.wicket.util.lang.Args;
 
 
 /**
@@ -42,10 +43,7 @@ public class WizardPage extends WicketExamplePage
         */
        public <C extends Wizard> WizardPage(Class<C> wizardClass)
        {
-               if (wizardClass == null)
-               {
-                       throw new IllegalArgumentException("argument 
wizardClass must be not null");
-               }
+               Args.notNull(wizardClass, "wizardClass");
                try
                {
                        Constructor<? extends Wizard> ctor = 
wizardClass.getConstructor(String.class);

Reply via email to