Bugs item #1441463, was opened at 2006-03-02 05:04 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1441463&group_id=119783
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Gili Tzabari (cowwoc) Assigned to: Nobody/Anonymous (nobody) Summary: PackageResourceReference Javadoc misleading Initial Comment: The Javadoc for: public PackageResourceReference(Application application, String name) reads: "The scope of this constructor will be the Application class itself." which led me to believe that it would use the scope of application.getClass(), but instead it is chaining to the super(String id) constructor which means that the scope being used is Application.class ... since "application" is not necessarily of the same class as Application.class -- if a user subclasses it, its type should be of the subclass type -- we should either fix the Javadoc to read "the scope will be Application.class" or preferably we should use "application.getClass()" instead as the scope. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1441463&group_id=119783 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
