You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by Apache Wiki <wi...@apache.org> on 2014/06/10 19:22:38 UTC

[Jclouds Wiki] Update of "Coding Standards" by AndrewGaul

Dear Wiki user,

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

The "Coding Standards" page has been changed by AndrewGaul:
https://wiki.apache.org/jclouds/Coding%20Standards?action=diff&rev1=9&rev2=10

Comment:
add comments about Java and Guava

     {{attachment:devatcloud-pr-builder-link.png}}
   * Both Eclipse and Idea support Checkstyle integration.
   * jclouds Checkstyle does not enforce all coding styles that should be followed in pull requests. However, developers can use this jclouds profile (compatible for import in both Eclipse and Idea): [[attachment:eclipse-code-formatter.xml]]; Also when using Idea ensure that .* imports are not used (under code style -> imports).
+  * Java dependency: jclouds targets Java 6 and thus cannot use newer language features or API additions in Java 7 and 8.  Note that jclouds Maven configuration prevents use of the former but not the latter presently.
+  * Guava: jclouds extensively uses [[https://code.google.com/p/guava-libraries/|Guava]] to provide additional functionality and consistent abstractions.  jclouds code should reuse Guava functionality instead of including equivalent libraries, e.g., Apache Commons.