This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gui] Implement accessibility for menu classes


Am Mittwoch, 29. Dezember 2004 00:53 schrieb Jerry Quinn:
> + ? ?/* Create the context if this is the first request */
> + ? ?if (accessibleContext == null)
> + ? ? ?{
> + ? ? ? ?/* Create the context */
> + ? ? ? ?accessibleContext = new AccessibleAWTCheckboxMenuItem();
> + ? ? ?}
> + ? ?return accessibleContext;

Don't you think the code speaks enough without comments in this case ? 
Comments are useful but too many comments can obscure code more then 
needed.


Michael
-- 
Homepage: http://www.worldforge.org/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]