Hi, I'm aware this is a bit of a dangerous email to start, but....... Trying to establish the default setup for JRefactory and checksource to keep in line with the maven source code conventions. I've found one contradiction to do with the location of braces.
The jakarta code convention doc says: The Sun document specifies the de-facto standard way of formatting Java code. All code written for this project must follow these conventions. Which standard should we follow? Jakarta & Sun conventions or Turbine conventions. If turbine, should we place the Jakarta / Sun standards as the values within maven.home/plugins/core/default.properties and override these properties in the jakarta-turbine-maven/project.properties? In this way, the maven project keeps its standard whilst not enforcing the maven standard on projects using maven? summary of differences ***************************************************************** Sun doc: http://java.sun.com/docs/codeconv/html/CodeConventions.doc5.html#381 http://java.sun.com/docs/codeconv/html/CodeConventions.doc6.html class Sample extends Object { int ivar1; int ivar2; Sample(int i, int j) { ivar1 = i; ivar2 = j; } int emptyMethod() {} ... } if (condition) { statements; } else if (condition) { statements; } else { statements; } while (condition) { statements; } do { statements; } while (condition); try { statements; } catch (ExceptionClass e) { statements; } finally { statements; } **************************************************** Turbine doc: http://jakarta.apache.org/turbine/common/code-standards.html if ( foo ) { // code here } try { // code here } catch (Exception bar) { // code here } finally { // code here } while ( true ) { // code here } ***************************************************************** -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
