Author: mgrigorov
Date: Wed Aug 17 09:06:10 2011
New Revision: 1158588

URL: http://svn.apache.org/viewvc?rev=1158588&view=rev
Log:
Improve javadoc example - earlier in the javadoc we recommend that calling 
super.onConfigure() most of the times should be before any other code.


Modified:
    wicket/trunk/wicket-core/src/main/java/org/apache/wicket/Component.java

Modified: 
wicket/trunk/wicket-core/src/main/java/org/apache/wicket/Component.java
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/main/java/org/apache/wicket/Component.java?rev=1158588&r1=1158587&r2=1158588&view=diff
==============================================================================
--- wicket/trunk/wicket-core/src/main/java/org/apache/wicket/Component.java 
(original)
+++ wicket/trunk/wicket-core/src/main/java/org/apache/wicket/Component.java Wed 
Aug 17 09:06:10 2011
@@ -847,8 +847,8 @@ public abstract class Component
         * {
         *      protected void onConfigure()
         *      {
-        *              setVisible(Math.rand() > 0.5f);
         *              super.onConfigure();
+        *              setVisible(Math.rand() > 0.5f);
         *      }
         * }
         * </pre>


Reply via email to