< prev index next >

src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.services/.checkstyle_checks.xml

Print this page

        

*** 7,17 **** --> <module name="Checker"> <property name="severity" value="error"/> <module name="TreeWalker"> <property name="tabWidth" value="4"/> - <module name="FileContentsHolder"/> <module name="JavadocStyle"> <property name="checkHtml" value="false"/> </module> <module name="LocalFinalVariableName"/> <module name="LocalVariableName"/> --- 7,16 ----
*** 130,152 **** </module> <module name="RegexpSinglelineJava"> <property name="format" value="new (Hashtable|Vector|Stack|StringBuffer)[^\w]"/> <property name="message" value="Don't use old synchronized collection classes"/> </module> - </module> - <module name="RegexpHeader"> - <property name="header" value="/\*\n \* Copyright \(c\) (20[0-9][0-9], )?20[0-9][0-9], Oracle and/or its affiliates. All rights reserved.\n \* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.\n \*\n \* This code is free software; you can redistribute it and/or modify it\n \* under the terms of the GNU General Public License version 2 only, as\n \* published by the Free Software Foundation.\n \*\n \* This code is distributed in the hope that it will be useful, but WITHOUT\n \* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n \* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License\n \* version 2 for more details \(a copy is included in the LICENSE file that\n \* accompanied this code\).\n \*\n \* You should have received a copy of the GNU General Public License version\n \* 2 along with this work; if not, write to the Free Software Foundation,\n \* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n \*\n \* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA\n \* or visit www.oracle.com if you need additional information or have any\n \* questions.\n \*/\n"/> - <property name="fileExtensions" value="java"/> - </module> - <module name="FileTabCharacter"> - <property name="severity" value="error"/> - <property name="fileExtensions" value="java"/> - </module> - <module name="NewlineAtEndOfFile"> - <property name="lineSeparator" value="lf"/> - </module> - <module name="Translation"/> <module name="SuppressionCommentFilter"> <property name="offCommentFormat" value="Checkstyle: stop constant name check"/> <property name="onCommentFormat" value="Checkstyle: resume constant name check"/> <property name="checkFormat" value="ConstantNameCheck"/> <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Allow non-conforming constant names"/> --- 129,138 ----
*** 187,201 **** <property name="onCommentFormat" value="Checkstyle: resume field name check"/> <property name="checkFormat" value="MemberName"/> <property name="checkC" value="false"/> <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable field name checks"/> </module> - <module name="RegexpMultiline"> - <metadata name="net.sf.eclipsecs.core.comment" value="illegal Windows line ending"/> - <property name="format" value="\r\n"/> - <property name="message" value="illegal Windows line ending"/> - </module> <module name="SuppressionCommentFilter"> <property name="offCommentFormat" value="CheckStyle: stop header check"/> <property name="onCommentFormat" value="CheckStyle: resume header check"/> <property name="checkFormat" value=".*Header"/> <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable header checks"/> --- 173,182 ----
*** 208,213 **** --- 189,212 ---- <module name="SuppressionCommentFilter"> <property name="offCommentFormat" value="CheckStyle: start generated"/> <property name="onCommentFormat" value="CheckStyle: stop generated"/> <property name="checkFormat" value=".*Name|.*LineLength|.*Header"/> </module> + </module> + <module name="RegexpHeader"> + <property name="header" value="/\*\n \* Copyright \(c\) (20[0-9][0-9], )?20[0-9][0-9], Oracle and/or its affiliates. All rights reserved.\n \* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.\n \*\n \* This code is free software; you can redistribute it and/or modify it\n \* under the terms of the GNU General Public License version 2 only, as\n \* published by the Free Software Foundation.\n \*\n \* This code is distributed in the hope that it will be useful, but WITHOUT\n \* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n \* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License\n \* version 2 for more details \(a copy is included in the LICENSE file that\n \* accompanied this code\).\n \*\n \* You should have received a copy of the GNU General Public License version\n \* 2 along with this work; if not, write to the Free Software Foundation,\n \* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n \*\n \* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA\n \* or visit www.oracle.com if you need additional information or have any\n \* questions.\n \*/\n"/> + <property name="fileExtensions" value="java"/> + </module> + <module name="FileTabCharacter"> + <property name="severity" value="error"/> + <property name="fileExtensions" value="java"/> + </module> + <module name="NewlineAtEndOfFile"> + <property name="lineSeparator" value="lf"/> + </module> + <module name="Translation"/> + <module name="RegexpMultiline"> + <metadata name="net.sf.eclipsecs.core.comment" value="illegal Windows line ending"/> + <property name="format" value="\r\n"/> + <property name="message" value="illegal Windows line ending"/> + </module> </module>
< prev index next >