You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bi...@apache.org on 2010/02/08 14:00:29 UTC
svn commit: r907648 - in
/cxf/build-utils/trunk/buildtools/src/main/resources:
cxf-checkstyle-corba.xml cxf-checkstyle.xml
Author: bimargulies
Date: Mon Feb 8 13:00:29 2010
New Revision: 907648
URL: http://svn.apache.org/viewvc?rev=907648&view=rev
Log:
Update to ruleset compatible with cs 2.4. This will break the build until the corresponding changelist in the main tree
Modified:
cxf/build-utils/trunk/buildtools/src/main/resources/cxf-checkstyle-corba.xml
cxf/build-utils/trunk/buildtools/src/main/resources/cxf-checkstyle.xml
Modified: cxf/build-utils/trunk/buildtools/src/main/resources/cxf-checkstyle-corba.xml
URL: http://svn.apache.org/viewvc/cxf/build-utils/trunk/buildtools/src/main/resources/cxf-checkstyle-corba.xml?rev=907648&r1=907647&r2=907648&view=diff
==============================================================================
--- cxf/build-utils/trunk/buildtools/src/main/resources/cxf-checkstyle-corba.xml (original)
+++ cxf/build-utils/trunk/buildtools/src/main/resources/cxf-checkstyle-corba.xml Mon Feb 8 13:00:29 2010
@@ -75,14 +75,6 @@
<module name="StaticVariableName" />
<module name="TypeName" />
- <!-- Header checks -->
- <module name="Header">
- <property name="header"
- value="/**\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * "License"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n" />
- </module>
- <!-- <module name="RegexpHeader"/> -->
-
-
<!-- Checks for imports -->
<!-- See http://checkstyle.sf.net/config_import.html -->
<module name="AvoidStarImport">
@@ -112,9 +104,6 @@
<module name="ExecutableStatementCount">
<property name="max" value="75" />
</module>
- <module name="FileLength">
- <property name="max" value="3000" />
- </module>
<module name="LineLength">
<property name="max" value="110" />
</module>
@@ -139,7 +128,6 @@
<module name="OperatorWrap" />
<module name="ParenPad" />
<module name="TypecastParenPad" />
- <module name="TabCharacter" />
<module name="WhitespaceAfter">
<property name="tokens" value="COMMA, SEMI" />
</module>
@@ -298,4 +286,16 @@
<!--<module name="RequiredRegexp">-->
</module>
<module name="SuppressionCommentFilter"/>
+ <!-- Header checks -->
+ <module name="Header">
+ <property name="header"
+ value="/**\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * "License"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n" />
+ </module>
+ <!-- <module name="RegexpHeader"/> -->
+ <module name="FileLength">
+ <property name="max" value="3000" />
+ </module>
+ <module name="FileTabCharacter">
+ <property name="eachLine" value="true"/>
+ </module>
</module>
Modified: cxf/build-utils/trunk/buildtools/src/main/resources/cxf-checkstyle.xml
URL: http://svn.apache.org/viewvc/cxf/build-utils/trunk/buildtools/src/main/resources/cxf-checkstyle.xml?rev=907648&r1=907647&r2=907648&view=diff
==============================================================================
--- cxf/build-utils/trunk/buildtools/src/main/resources/cxf-checkstyle.xml (original)
+++ cxf/build-utils/trunk/buildtools/src/main/resources/cxf-checkstyle.xml Mon Feb 8 13:00:29 2010
@@ -69,13 +69,6 @@
<module name="StaticVariableName" />
<module name="TypeName" />
- <!-- Header checks -->
- <module name="Header">
- <property name="header"
- value="/**\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * "License"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n" />
- </module>
- <!-- <module name="RegexpHeader"/> -->
-
<!-- Checks for imports -->
<!-- See http://checkstyle.sf.net/config_import.html -->
@@ -106,9 +99,6 @@
<module name="ExecutableStatementCount">
<property name="max" value="75" />
</module>
- <module name="FileLength">
- <property name="max" value="3000" />
- </module>
<module name="LineLength">
<property name="max" value="110" />
</module>
@@ -133,7 +123,6 @@
<module name="OperatorWrap" />
<module name="ParenPad" />
<module name="TypecastParenPad" />
- <module name="TabCharacter" />
<module name="WhitespaceAfter">
<property name="tokens" value="COMMA, SEMI" />
</module>
@@ -292,4 +281,16 @@
<!--<module name="RequiredRegexp">-->
</module>
<module name="SuppressionCommentFilter"/>
+ <!-- Header checks -->
+ <module name="Header">
+ <property name="header"
+ value="/**\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * "License"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n" />
+ </module>
+ <!-- <module name="RegexpHeader"/> -->
+ <module name="FileLength">
+ <property name="max" value="3000" />
+ </module>
+ <module name="FileTabCharacter">
+ <property name="eachLine" value="true"/>
+ </module>
</module>