JavaDoc inconsistent to the code
--------------------------------

                 Key: WICKET-2335
                 URL: https://issues.apache.org/jira/browse/WICKET-2335
             Project: Wicket
          Issue Type: Bug
    Affects Versions: 1.4-RC5
         Environment: trunk
            Reporter: Martin Funk
             Fix For: 1.4-RC6


Index: wicket/src/main/java/org/apache/wicket/Component.java
===================================================================
--- wicket/src/main/java/org/apache/wicket/Component.java       (revision 
786581)
+++ wicket/src/main/java/org/apache/wicket/Component.java       (working copy)
@@ -4376,7 +4376,8 @@
 
        /**
         * Sets the id of this component. This method is private because the 
only time a component's id
-        * can be set is in its constructor.
+        * can be set is in its constructor. Something is wrong here: The 
javadoc says the method is
+        * private, but it is not!
         * 
         * @param id
         *            The non-null id of this component


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to