You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2013/04/03 19:04:23 UTC

[Lucene-java Wiki] Update of "DeveloperTips" by UweSchindler

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The "DeveloperTips" page has been changed by UweSchindler:
http://wiki.apache.org/lucene-java/DeveloperTips?action=diff&rev1=2&rev2=3

Comment:
java 6/7

  
   * Code compatibility:
    * All code to be included in 3.X releases should be compatible with Java 5.
-   * All code to be included in trunk, from which 4.0 will be released, should be compatible with Java 6.
+   * All code to be included in 4.X releases should be compatible with Java 6.
+   * All code to be included in trunk, from which 5.0 will be released, should be compatible with Java 7. As most code is currently committed also to the 4.x branch it is a good idea to only use Java 6 code features (no diamond operators instead of full generics,...) unless explicitly needed.
   * All public classes and methods should have informative [[http://www.oracle.com/technetwork/java/javase/documentation/index-137868.html|Javadoc comments]].
   * Code should be formatted according to [[http://www.oracle.com/technetwork/java/codeconv-138413.html|Sun's conventions]] with one exception:
    * indent two spaces per level, not four.