1 Nov 2009 08:53
[groovy-dev] Re: [groovy-scm] [18176] trunk/groovy/groovy-core/src/main/groovy/ui: GROOVY-3765: additional tweak to get line number fonts correct on Windows
Paul, I though coding policy was not to use * imports. Listing all the imports explicitly is good documentation. Using * pollutes the namespace in the code. On Sun, 2009-11-01 at 01:44 -0600, paulk@... wrote: [ . . . ] > > --- trunk/groovy/groovy-core/src/main/groovy/ui/ConsoleTextEditor.java 2009-10-31 18:39:48 UTC (rev 18175) > +++ trunk/groovy/groovy-core/src/main/groovy/ui/ConsoleTextEditor.java 2009-11-01 07:44:53 UTC (rev 18176) > <at> <at> -23,14 +23,7 <at> <at> > import groovy.ui.text.TextEditor; > import groovy.ui.text.TextUndoManager; > > -import javax.swing.AbstractAction; > -import javax.swing.Action; > -import javax.swing.ActionMap; > -import javax.swing.InputMap; > -import javax.swing.JComponent; > -import javax.swing.JPanel; > -import javax.swing.JScrollPane; > -import javax.swing.KeyStroke; > +import javax.swing.*; > import javax.swing.event.DocumentEvent; > import javax.swing.event.DocumentListener; > import javax.swing.text.BadLocationException;(Continue reading)
I guess we should document such settings too - in checkstyle
and/or on the wiki.
Paul.
Russel Winder wrote:
> Paul,
>
> I though coding policy was not to use * imports. Listing all the
> imports explicitly is good documentation. Using * pollutes the
> namespace in the code.
>
> On Sun, 2009-11-01 at 01:44 -0600,
RSS Feed