diff options
Diffstat (limited to 'gwtquery-core')
-rw-r--r-- | gwtquery-core/src/main/code-style/gwt-checkstyle.xml | 1 | ||||
-rw-r--r-- | gwtquery-core/src/main/code-style/gwt-format.xml | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gwtquery-core/src/main/code-style/gwt-checkstyle.xml b/gwtquery-core/src/main/code-style/gwt-checkstyle.xml index 23439683..111e29c6 100644 --- a/gwtquery-core/src/main/code-style/gwt-checkstyle.xml +++ b/gwtquery-core/src/main/code-style/gwt-checkstyle.xml @@ -156,6 +156,7 @@ Description: </module> <module name="MethodName"> <property name="severity" value="error"/> + <property name="format" value="^[a-z$][a-zA-Z0-9]*$"/> </module> <module name="MemberName"> <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Field names must start with [a-z], may not start with f[A-Z], and should not contain '_''s."/> diff --git a/gwtquery-core/src/main/code-style/gwt-format.xml b/gwtquery-core/src/main/code-style/gwt-format.xml index b13daa74..1873dbdb 100644 --- a/gwtquery-core/src/main/code-style/gwt-format.xml +++ b/gwtquery-core/src/main/code-style/gwt-format.xml @@ -54,8 +54,8 @@ <setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="end_of_line"/> <setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment" value="false"/> <setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment" value="false"/> -<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true"/> -<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="true"/> +<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="false"/> +<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="false"/> <setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/> <setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/> <setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true"/> |