On Nov 30, 2010, at 9:28 AM, sebb wrote: > On 30 November 2010 17:16, Gary Gregory <ggreg...@seagullsoftware.com> wrote: >> Hm... I just noticed that VFS follows a different import convention that >> other [commons] projects. >> >> In [lang] and [io] for example, we list java packages first and the >> project's packages last. In VFS, it's the reverse. Consistency would be >> nice. Time to match [lang] and [io]? > > OK by me. > >> Time to wiki this as a guideline? Too micro? > > IMO, that would be fine as a guideline. Makes it a bit easier when > adding new code.
I usually have IntelliJ add the imports. I have no idea what controls the order it chooses. As long as like packages are grouped I really don't care what the order is. > > If there are currently no guidelines on imports, I would add: > * never use wildcard imports, except perhaps for static imports of constants. That is also reported as an error by checkstyle. Ralph --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org