Changeset 293

Show
Ignore:
Timestamp:
01/27/10 14:10:42 (2 years ago)
Author:
martijn
Message:

Upgraded to checkstyle 5.0

Location:
trunk/corelib
Files:
2 modified
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/corelib/build.xml

    r221 r293  
    6262 
    6363        <taskdef resource="checkstyletask.properties" 
    64                          classpath="build-lib/checkstyle-all-5.0-beta01.jar"/> 
     64                         classpath="build-lib/checkstyle-all-5.0.jar"/> 
    6565                          
    6666        <target name="test" depends="build"> 
  • trunk/corelib/checks.xml

    r105 r293  
    11<?xml version="1.0" encoding="UTF-8"?> 
     2<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> 
     3 
    24<!-- 
    35    This configuration file was written by the eclipse-cs plugin configuration editor 
     
    79    Description: none 
    810--> 
    9 <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> 
    1011<module name="Checker"> 
    11     <property name="severity" value="warning"/> 
    12     <module name="TreeWalker"> 
    13         <module name="MethodName"/> 
    14         <module name="LocalVariableName"/> 
    15         <module name="LocalFinalVariableName"/> 
    16         <module name="ConstantName"/> 
    17         <module name="MemberName"/> 
    18         <module name="PackageName"/> 
    19         <module name="ParameterName"/> 
    20         <module name="StaticVariableName"/> 
    21         <module name="TypeName"/> 
    22         <module name="AvoidStarImport"/> 
    23         <module name="IllegalImport"/> 
    24         <module name="ImportOrder"/> 
    25         <module name="RedundantImport"/> 
    26         <module name="UnusedImports"/> 
    27         <module name="ExecutableStatementCount"> 
    28             <property name="tokens" value="INSTANCE_INIT,STATIC_INIT,METHOD_DEF,CTOR_DEF"/> 
    29         </module> 
    30         <module name="FileLength"/> 
    31         <module name="CyclomaticComplexity"/> 
    32         <module name="Header"> 
    33             <property name="header" value="// BridgeDb,&#10;// An abstraction layer for identifer mapping services, both local and online.&#10;// Copyright 2006-2009 BridgeDb developers&#10;//&#10;// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);&#10;// you may not use this file except in compliance with the License.&#10;// You may obtain a copy of the License at&#10;//&#10;// http://www.apache.org/licenses/LICENSE-2.0&#10;//&#10;// Unless required by applicable law or agreed to in writing, software&#10;// distributed under the License is distributed on an &quot;AS IS&quot; BASIS,&#10;// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#10;// See the License for the specific language governing permissions and&#10;// limitations under the License.&#10;//"/> 
    34         </module> 
    35         <module name="JavadocType"> 
    36             <property name="scope" value="package"/> 
    37         </module> 
    38         <module name="IllegalType"> 
    39             <property name="tokens" value="METHOD_DEF,PARAMETER_DEF,VARIABLE_DEF"/> 
    40         </module> 
    41         <module name="DefaultComesLast"/> 
    42         <module name="EqualsHashCode"/> 
    43         <module name="IllegalInstantiation"/> 
    44         <module name="StringLiteralEquality"/> 
    45         <module name="IllegalThrows"/> 
    46         <module name="JavadocMethod"> 
    47             <property name="logLoadErrors" value="true"/> 
    48             <property name="suppressLoadErrors" value="true"/> 
    49         </module> 
    50         <module name="JavadocStyle"/> 
    51         <module name="AnonInnerLength"/> 
    52         <module name="MethodLength"/> 
    53         <module name="ParameterNumber"/> 
    54         <module name="IllegalCatch"/> 
    55         <module name="ModifiedControlVariable"/> 
    56         <module name="ParameterAssignment"/> 
    57         <module name="RedundantThrows"> 
    58             <property name="logLoadErrors" value="true"/> 
    59             <property name="suppressLoadErrors" value="true"/> 
    60         </module> 
    61         <module name="FinalClass"/> 
    62         <module name="HideUtilityClassConstructor"/> 
    63         <module name="MutableException"/> 
    64         <module name="VisibilityModifier"/> 
     12  <property name="severity" value="warning"/> 
     13  <module name="TreeWalker"> 
     14    <module name="MethodName"/> 
     15    <module name="LocalVariableName"/> 
     16    <module name="LocalFinalVariableName"/> 
     17    <module name="ConstantName"/> 
     18    <module name="MemberName"/> 
     19    <module name="PackageName"/> 
     20    <module name="ParameterName"/> 
     21    <module name="StaticVariableName"/> 
     22    <module name="TypeName"/> 
     23    <module name="AvoidStarImport"/> 
     24    <module name="IllegalImport"/> 
     25    <module name="ImportOrder"/> 
     26    <module name="RedundantImport"/> 
     27    <module name="UnusedImports"/> 
     28    <module name="ExecutableStatementCount"> 
     29      <property name="tokens" value="INSTANCE_INIT,STATIC_INIT,METHOD_DEF,CTOR_DEF"/> 
    6530    </module> 
     31    <module name="CyclomaticComplexity"/> 
     32    <module name="JavadocType"> 
     33      <property name="scope" value="package"/> 
     34    </module> 
     35    <module name="IllegalType"> 
     36      <property name="tokens" value="METHOD_DEF,PARAMETER_DEF,VARIABLE_DEF"/> 
     37    </module> 
     38    <module name="DefaultComesLast"/> 
     39    <module name="EqualsHashCode"/> 
     40    <module name="IllegalInstantiation"/> 
     41    <module name="StringLiteralEquality"/> 
     42    <module name="IllegalThrows"/> 
     43    <module name="JavadocMethod"> 
     44      <property name="logLoadErrors" value="true"/> 
     45      <property name="suppressLoadErrors" value="true"/> 
     46    </module> 
     47    <module name="JavadocStyle"/> 
     48    <module name="AnonInnerLength"/> 
     49    <module name="MethodLength"/> 
     50    <module name="ParameterNumber"/> 
     51    <module name="IllegalCatch"/> 
     52    <module name="ModifiedControlVariable"/> 
     53    <module name="ParameterAssignment"/> 
     54    <module name="RedundantThrows"> 
     55      <property name="logLoadErrors" value="true"/> 
     56      <property name="suppressLoadErrors" value="true"/> 
     57    </module> 
     58    <module name="FinalClass"/> 
     59    <module name="HideUtilityClassConstructor"/> 
     60    <module name="MutableException"/> 
     61    <module name="VisibilityModifier"/> 
     62  </module> 
     63  <module name="Header"> 
     64    <property name="header" value="// BridgeDb, // An abstraction layer for identifer mapping services, both local and online. // Copyright 2006-2009 BridgeDb developers // // Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an &quot;AS IS&quot; BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. //"/> 
     65  </module> 
     66  <module name="FileLength"/> 
    6667</module>