The issue was first discussed in https://issues.apache.org/jira/browse/SHINDIG-76 , which is probably by I have Eclipse configured as it is. Its such a long time ago that it hasn't been on the lists much, although there are the occasional comments like the 'whitespace cleanup' thread about 12 months ago. [1], I only remember this because I was forever submitting patches with the wrong order :)
Ian

[1] http://markmail.org/message/7nl6vvymfo4vi3lf?q=shindig+import+order+style

On 21 Apr 2009, at 23:49, Adam Winer wrote:

All,

I've been using the following order for imports (from first to last):

org
java
javax
com

Ian told me today this is wrong, and it should be (from first to last):

com.google
com
junit
net
org.apache.shindig
org.apache.abdera (not used in Shindig anymore)
org
java
javax

This is in http://svn.apache.org/repos/asf/incubator/shindig/trunk/etc/eclipse/shindig.importorder ,
but isn't explicitly described anywhere.

I've no strong opinions, and just want to get the right answer
documented in the style guide at:

 http://incubator.apache.org/shindig/community/conventions/code.html

The only changes I'd like to see is removing the special-case for
com.google, and deleting the abdera reference (we don't use it
anymore).

-- Adam

Reply via email to