]> source.dussan.org Git - gwtquery.git/commitdiff
Do not format JSNI blocks. Allow methods with dollar
authorManolo Carrasco <manolo@apache.org>
Thu, 1 Jan 2015 19:02:57 +0000 (20:02 +0100)
committerManolo Carrasco <manolo@apache.org>
Thu, 1 Jan 2015 19:02:57 +0000 (20:02 +0100)
gwtquery-core/src/main/code-style/gwt-checkstyle.xml
gwtquery-core/src/main/code-style/gwt-format.xml

index 23439683000d2e1f94c705979ab8545f369b29d8..111e29c643c491982b417368b09646b0de446a6d 100644 (file)
@@ -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."/>
index b13daa74263f6574969d3ead085110985c344628..1873dbdb29eda43842f2a30786d1922accbcc089 100644 (file)
@@ -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"/>