Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-866

Upgrade to Maven Checkstyle plugin 2.17 and checkstyle 6.12.1

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.3-milestone-1
    • Fix Version/s: 7.3-rc-1
    • Labels:
      None
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      See https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317223&version=12330406

      Release Notes - Maven Checkstyle Plugin - Version 2.17
      
      ** Bug
          * [MCHECKSTYLE-302] - Using inline configuration does not work with Maven 2.2.1
          * [MCHECKSTYLE-304] - Using inline configuration, checkstyle-checker.xml is generated using DTD v1.2
          * [MCHECKSTYLE-310] - Parrallel build failing with various errors
          * [MCHECKSTYLE-311] - "mvn clean site -Preporting" fails with Could not find resource 'config/maven_checks.xml'
      
      ** Improvement
          * [MCHECKSTYLE-291] - Change format of violation message
          * [MCHECKSTYLE-293] - Update to use non deprecated method Checker.setClassLoader()
      
      ** Task
          * [MCHECKSTYLE-307] - Upgrade to Checkstyle 6.11
          * [MCHECKSTYLE-313] - Upgrade to Checkstyle 6.11.2
      

      See http://checkstyle.sourceforge.net/releasenotes.html#Release_6.12.1 (from 6.7)

      Release 6.12.1
      
      New:
      
          ParameterName: Add 'ignoreOverridden' option to skip methods with @Override annotation. Author: Andrei Selkin #2290
      
      Bug fixes:
      
          Fix RedundantModifier at final methods in anonymous class. Author: rnveach #2122
          Performance-Optimization: Do not recompile Pattern for each file/line. Author: Fabian Loewner #2495
          Fix skipping validation for non empty classes when allowEmptyTypes is true. Author: Andrei Selkin #2480
          NeedBraces: allow no body loops. Author: Andrei Selkin #2436
          Make 'processJavadoc' property 'true' by default. Author: Vladislav Lisetskiy #1627
          spelling: fix strange japanese. Author: Nobuyuki-Inaba #2524
      
      Notes:
      
          removed excess hierarchy from several Checks. Author: rnveach #2451
          deprecated AbstractIllegalCheck. Author: rnveach #2451
          removed xdoc google style links to master. Author: rnveach #2519
          removed xdoc links to master. Author: rnveach #2519
          added xdoc example url validation. Author: rnveach #2517
          added xdoc check order validation, all xdoc are sorted. Author: rnveach #2292
          validate existence of config file sooner. Author: rnveach #1267
          reorganized checkstyle_checks.xml. Author: rnveach #2526
          Describe token sets in 'writing checks' section in xdoc. Author: Vladislav Lisetskiy #2346
          Update System Rules to 1.13.0. Author: Michal Kordas #2513
      
      Release 6.12
      
      Bug fixes:
      
          CommentsIndentationCheck doesn't report errors at end of block. Author: Andrei Selkin #2078
          Fix NoWhitespaceAfterCheck. Author: attatrol #1013
          Fix NPE in EqualsAvoidNull check. Author: Vladislav Lisetskiy #2474
          Fix FinalLocalVariable false-negative. Author: Vladislav Lisetskiy #1551
          Exclude lines with package in LineLength check. Author: rnveach #2482
          fixed NPE in NeedBraces.isSingleLineFor. Author: rnveach #2283
          JavaDocMethod: Exception thrown for incomplete @return tag if next line is empty. Author: John Erik Halse #2398
          Fix reusability of JavaDoc checks. Author: Björn Kautler #2326
          Fixed blank line indentification for EmptyLineSeparator check. Author: Pavel Baranchikov #2266
          Support for @SuppressWarnings("all").. Author: Stéphane Galland #2275
          Make SuppressWarningsFilter case-insensitive. Author: Michal Kordas #2202
          Fix NPE in ModifiedControlVariable on SuppressWarnings. Author: Michal Kordas #2327
          Do not recognize '/**/' as valid Javadoc. Author: Michal Kordas #2387
          Make JavadocType check customizable by list of tokens. Author: Michal Kordas #2388
          Fix FALSE positive in JavadocStyle check on inheritDoc tag. Author: Michal Kordas #2411
          Ignore missing Javadoc for 'serialVersionUID' fields. Author: Michal Kordas #792
          Exclude lines with imports in LineLength check. Author: Michal Kordas #2433
          IllegalTypeCheck, requiredTokens is set to IMPORT only. Author: Roman Ivanov #2415
          CLI should print a file name where exception is happen. Author: Roman Ivanov #2109
          LeftCurly: add Anonymous class to allowed tokens. Author: Roman Ivanov #2431
      
      Notes:
      
          Deploy snapshots versions in CI. Author: WonderCsabo #2167
          require all filters appear in checkstyle_checks.xml. Author: rnveach #2268
          removed xdoc of CustomImportOrder.samePackageMatchingDepth. Author: rnveach #2453
          added xdoc check validation. Author: rnveach #2442
          Run CheckStyle on Full Test Directory. Author: rnveach #2421
          fixed invalid xml examples in xdocs. Author: rnveach #2425
          flush audit outputs sooner. Author: rnveach #2085
          unify test input locations for whole project. Author: rnveach #2161
          removed excess hierarchy from few Check. Author: rnveach #2451
          Bunch of refactoring and code optimizarion. Author: rnveach
          Update list of missing tools. Author: Dawid Nejman #1238
          Sonarqube found problems in Checkstyle. Author: Ilja Dubinin #46
          Replaced outdated link for bamboo-checkstyle-plugin. Author: Dawid Nejman #1238
          'forbiddenapis' plugin added to maven config. Author: Ruslan Diachenko #1217
          Update list of related Tools. Author: Dawid Nejman #1238
          skip all analysers during deploy. Author: Roman Ivanov #2167
          usage of error-prone plugin is commented out till problems with Eclipse resovled. Author: Roman Ivanov #2160
          Inconvenience to debug UTs after recent changes in BaseCheckTestSupport. Author: Roman Ivanov #2434
          Fix PMD violations for ShortVariable rule. Author: Roman Ivanov #985
          PMD violations PreserveStackTrace. Author: Roman Ivanov #996
          PMD violations EmptyMethodInAbstractClassShouldBeAbstract. Author: Roman Ivanov #997
          PMD violation ConfusingTernary. Author: Roman Ivanov #974
          rename CheckUtils.isVoidMethod to isNonVoidMethod. Author: Roman Ivanov #2273
          Decrease visibility of package-private methods. Author: Michal Kordas #957
          Rename tests to match tested class name with Test suffix. Author: Michal Kordas #2215
          Fix all issues for Java found by Codacy static analysis tool. Author: Michal Kordas #2271
          Fix missing code coverage. Author: Michal Kordas #2243
          Fix typos in code. Author: Michal Kordas #2080
          Update Maven Shade Plugin to 2.4.2. Author: Michal Kordas #2464
          Update Maven Surefire and Failsafe plugins to 2.19. Author: Michal Kordas #2394
          Update Maven Assembly Plugin to 2.6. Author: Michal Kordas #2350
          Update JGit to 4.1.0.201509280440-r. Author: Michal Kordas #2324
          Update PowerMock to 1.6.3. Author: Michal Kordas #2293
      
      Release 6.11.2
      
      Bug fixes:
      
          Make ConfigurationLoader.loadConfiguration public. Author: Michal Kordas #2260
      
      Notes:
      
          Create UT to check that all checkstyle modules have xdocs. Author: Andrei Selkin #819
          Split config.html into few pages. Author: Andrei Selkin #819
          Create xdoc documentation for FileContentsHolder. Author: Andrei Selkin #819
          Add GENERIC_START and GENERIC_END into list of acceptable tokens in xdocs of NoWhiteSpaceAfter and WhiteSpaceAround. Author: Andrei Selkin #2258
          Add COMMA into list of acceptable tokens in xdocs of NoWhiteSpaceBefore. Author: Andrei Selkin #2259
          minor refactoring, helper method was added. Author: Aleksandr Ivanov #2231
          fixed jgit resource leaks in commit validation. Author: rnveach
          Ilja Dubinin was added as developer. Author: Roman Ivanov
          Add WILDCARD_TYPE into list of acceptable tokens in xdocs of WhitespaceAround. Author: Andrei Selkin
      
      Release 6.11.1
      
      Bug fixes:
      
          Add lambda support to indentation check (see #281). Author: Pieter Noordhuis #1548
      
      Notes:
      
          Coverage has been increased to 100% in 'checks' package. Author: Ilja Dubinin #1290
          Resolve Doxia Site Renderer warnings. Author: Vladislav Lisetskiy #905
          Update plexus-compiler-javac-errorprone to 2.6. Author: Michal Kordas #2247
          Update JGit to 4.0.2.201509141540-r. Author: Michal Kordas #2246
          Fix release failure due to unknown Javadoc tag. Author: Michal Kordas #2245
      
      Release 6.11
      
      Breaking backward compatibility:
      
          Restore 'url' option for ImportControl. Author: Aleksandr Ivanov #2231
      
      New:
      
          New option 'requiredTranslations' to Translation check. Author: Andrei Selkin #2166
          New option 'switchBlockAsSingleDecisionPoint' for CyclomaticComplexityCheck. Author: Andrei Selkin #2029
      
      Bug fixes:
      
          Fix java grammar for unicode escape. Author: rnveach #157
          Add basic thread-safety to Javadoc checks. Author: Michal Kordas #2237
          Fixed NPE in FinalLocalVariableCheck. Author: rnveach #1257
          NoWhitespaceAfter, NoWhitespaceBefore and WhitespaceAround don't support GENERIC_START nor GENERIC_END tokens. Author: Roman Ivanov #2219
          Add support of lambdas which parameter types are omitted for HiddenFieldCheck. Author: Andrei Selkin #2175
          Fix RedundantModifier check at final classes in interfaces. Author: Michal Kordas #2203
          Print missing cause of exception to console on error. Author: Michal Kordas #2213
          Fix not working excludeScope in JavadocMethod check. Author: Michal Kordas #2205
          Fix RedundantModifier check to recognise inner classes accessible from global scope. Author: liscju #1537
          CustomImportOrderCheck rule priorities. Author: Aleksandr Ivanov #1273
          Fix false negative in AtclauseOrder check. Author: Vladislav Lisetskiy #2095
          Fix IllegalStateException in JavadocTypeCheck. Author: Vladislav Lisetskiy #2112
          Allow COMMA again in NoWhiteSpaceBefore. Author: Roman Ivanov #2089
          Fix HiddenField false positive violations for anonymous classes. Author: Andrei Selkin #382
          Added support of logging severity for all audit events. Author: Andrei Selkin #67
          Allow @return tags from annotation types. Author: Phillip Webb #2141
          Fixed redundant modifier false positive for abstract classes in interfaces. Author: Andrei Selkin #1833
          Ignore classes nested in interaces or annotations in Final Class Check. Author: Vladislav Lisetskiy #2064
          Detect nested enums marked as static in RedundantModifier check. Author: Vladislav Lisetskiy #1530
          Fixed NPE in MutableExceptionCheck.isExtendedClassNamedAsException. Author: Andrei Selkin #1903
          Change message in SummaryJavadocCheck. Author: Vladislav Lisetskiy #2062
      
      Notes:
      
          Update HTML documentation to describe all options for all checks. Author: Andrei Selkin #2169
          Make link for each row of Google style coverage table. Author: Vladislav Lisetskiy #1005
          Add docs about while idiom to InnerAssignment check. Author: Michal Kordas #2230
          Fix additional issues reported by IntelliJ IDEA inspections in Checkstyle code. Author: Michal Kordas #2080
          SuppressionsLoaderTest UT was stabilized. Author: Ruslan Diachenko #2191
          ROOT locale added in checker creation for UT; travis updated with a new check. Author: Ruslan Diachenko #2193
          Update Error Prone to 2.0.5. Author: Michal Kordas #2216
          Add "Input" prefix to test input files. Author: Michal Kordas #2161
          Create MacOS matrix item for Travic-CI. Author: Roman Ivanov #2210
          POM still references nexus.codehaus.org repo. Author: Roman Ivanov #2200
          Make coverage 100% for TokenTypesDoclet. Author: Vladislav Lisetskiy #2126
          Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks. Author: Ilja Dubinin #1290
          Use StandardCharsets and get rid of UnsupportedEncodingException. Author: Michael Osipov #2034
          Remove errors from Maven output in TokenTypesDocletTest. Author: Vladislav Lisetskiy #2195
          Anchor naming checks in google_style.xml. Author: Vladislav Lisetskiy #2108
          AbstractHeaderCheck coverage has been increased to 100%. Author: Ilja Dubinin #1292
          Sonarqube found problems in Checkstyle. Author: Ilja Dubinin #46
          CopyPasted ITs. Author: Vladislav Lisetskiy #2074
          Update Maven Wagon to 2.10. Author: Michal Kordas #2183
          Update Maven Project Info Reports Plugin to 2.8.1. Author: Michal Kordas #2182
          Split all modules to be separate at config_naming.html. Author: Vladislav Lisetskiy #2108
          Remove already fixed exclusion from PMD configuration. Author: Michal Kordas #961
          Add SLF4J binding required by JGit. Author: Michal Kordas #2129
          Configure compiler to use Error Prone for non-input sources. Author: Michal Kordas #2160
          Rearrange POM to use canonical ordering. Author: Michal Kordas #809
          Unify naming files with test inputs. Author: Michal Kordas #2161
          Create wide message for CheckstyleException in PackageObjectFactory. Author: Andrei Selkin #759
          Fix compiler warnings in input files. Author: Michal Kordas #2130
          Updated checkstyle_checks.xml to use ParameterNumber in default configuration. Author: Andrei Selkin #215
          Extended Eclipse user guide for newbies of Checkstyle. Author: Andrei Selkin #606
          Fix exception at NeedBraces check in enhanced for loops. Author: Michal Kordas #2135
          Make test for FileTabCharacter locale and OS independent. Author: Michal Kordas #2137
          Add inspection scope profile for IDEA analysis. Author: Michal Kordas #2131
          Fix issues reported by IntelliJ IDEA inspections in Checkstyle code. Author: Michal Kordas #1555
          Added tests for validating commit message. Author: liscju #937
          Fix StringIndexOutOfBoundsException. Author: Vladislav Lisetskiy #2094
          Activated TranslationCheck in checkstyle_checks.xml. Author: Andrei Selkin #2092
          Fix Javadoc generation failure after addition of new tag. Author: Michal Kordas #2106
          Add Codacy badge to main page. Author: Michal Kordas #2054
          Update all Checks html docs with link to hosted configurations. Author: Vladislav Lisetskiy #1214
          Create separate web page for old release notes. Author: Vladislav Lisetskiy #2063
          Extended javadoc/xdoc for RightCurlyCheck. Author: Andrei Selkin #1900
          Added UT which validates that all checks which exist in classpath are referenced in checkstyle_checks.xml. Author: Andrei Selkin #945
          Add suppression for IntelliJ IDEA inspection. Author: Michal Kordas #2065
          Refactoring of TreeWalker to increase readability. Author: Andrei Selkin
          Corrected javadoc/xdoc for IllegalTypeCheck. Author: Andrei Selkin
      
      Release 6.10.1
      
      Bug fixes:
      
          broken compatibility with maven-checkstyle-plugin:2.15 at checkstyle:6.10. Author: Roman Ivanov #2065
      
      Release 6.10
      
      Breaking backward compatibility:
      
          'ignoreMethods' option has been removed from DeclarationOrderCheck. Author: Baratali Izmailov #2031
          fix typos in properties names. Author: Michal Kordas in scope of #1555
          Rethrow all exceptions further to caller of Checker. Author: Ruslan Diachenko #1304
          Improve exception handling in CheckstyleAntTask class. Author: Ruslan Diachenko #1245
      
      New:
      
          Added new Check: CommentsIndentationCheck. Author: Andrei Selkin #333
      
      Bug fixes:
      
          fixed problem with lexical order in CustomImportOrder. Author: Aleksandr Ivanov #1469
          Extended messages for CustomImportOrder. Author: Aleksandr Ivanov #1648
          Changed SAME_PACKAGE rule for CustomImportOrderCheck. Author: Aleksandr Ivanov #1262
          reimplement EqualsAvoidNullCheck. Author: Vladislav Lisetskiy #1377
          enforce all checks to override getRequiredTokens, getAcceptableTokens methods. Author: Andrei Selkin #655
          IllegalType: add 'validateAbstractClassNames' option. Author: Andrei Selkin #1805
          Marked 'maxLineLength' as '@Deprecated' at LeftCurlyCheck. Author: Andrei Selkin #965
          Detect public constructors in non-public classes in RedundantModifier. Author: liscju #1537
          Fixes logic bug in gui ParseTreeInfoPanel making linesToPositions assign lines to inappropriate positions. Author: liscju
          Fix RightCurlyCheck with same option not to rise expression in single-line blocks. Author: liscju #1416
          Fix UnsupportedOperationException in GUI. Author: Michal Kordas #1718
      
      Notes:
      
          Fix issues reported by IntelliJ IDEA inspections in Checkstyle code. Author: Michal Kordas #1555
          Fix violations reported by Checkstyle checks. Author: Baratali Izmailov , Ruslan Diachenko #1566
          Sonarqube found problems in Checkstyle. Author: Ilja Dubinin #46
          Enable Checkstyle checks for 'gui' package. Author: Roman Ivanov #1678
          Corrected links on website. Author: Andrei Selkin #751
          Eclipse warnings about unused fields have been fixed. Author: Baratali Izmailov #1243
          Simplify overqualified CSS element. Author: Michal Kordas #2054
          Remove empty CSS rule. Author: Michal Kordas #2054
          config: maven-enforcer-plugin and equalsverifier are updated to newest version. Author: Roman Ivanov
          Make coverage 100% for some classes at package com.puppycrawl.tools.checkstyle.checks. Author: Ilja Dubinin #1290
          Utils classes have been moved to utils package, new classes CommonUtils and TokenUtils. Author: Ilja Dubinin #1898
          Use EqualsVerifier to test equals and hashCode in IntMatchFilter. Author: Michal Kordas #1088
          Removed suppression for SwitchDensity rule from PMD. Author: Andrei Selkin #973
          Remove obsolete entry from PMD configuration. Author: Michal Kordas #877
          Remove unused Coveralls plugin from pom.xml. Author: Roman Ivanov #1881
          Update ANTLR to 4.5.1-1. Author: Roman Ivanov #1880
          Update EqualsVerifier to 1.7.4. Author: Roman Ivanov #1879
          replace deprecated method in HiddenCheckField. Author: Vladislav Lisetskiy
          Created JaCoCo profile of pom.xml. Author: Andrei Selkin #1173
          Update Maven FindBugs Plugin to 3.0.2. Author: Michal Kordas #1714
          Fixed typo in JavadocMethod's examples xdocs. Author: Andrei Selkin #1668
          Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.regexp. Author: Ilja Dubinin #1010
          Fix headers for classes in 'gui' package. Author: Michal Kordas #945
          Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.coding.. Author: Baratali Izmailov #1293
          Resolved javadoc problems that reported by java 8. Author: Andrei Selkin #291.
          Minor typo fixes. Author: Dave Moloney
      
      Release 6.9
      
      Breaking backward compatibility:
      
          Change default value of property "format" to "^Abstract.*$" in AbstractClassNameCheck. Author: Bhavik Patel #1279
          Removed property "url" in ImportControlCheck. Note: will be restored in release 6.11. Author: Aleksandr Ivanov #1128
      
      New:
      
          New option for MagicNumber: constantWaiverParentToken. Solution to not detected properly numbers. Author: Bhavik Patel #1266
      
      Bug fixes:
      
          Fixed NPE in MultipleVariableDeclarationsCheck Issue. Author: Baratali Izmailov #1539
          Added column number into violation messages for RightCurlyCheck and LeftCurlyCheck. Author: Andrei Selkin #1511
          Fix BooleanExpressionComplexity check violations in Checkstyle code. Author: Andrei Selkin #1052
          Add new option for RightCurlyCheck. Author: Andrei Selkin #1019
          Updated configuration for Eclipse Mars in xdoc. Author: Aleksandr Ivanov #1464
          updated Xdoc and Javadoc for ImportOrder and CustomImportOrder. Author: Aleksandr Ivanov #1464
          Remove from dependecies deprecated jar commons-beanutils-core.jar. Author: Roman Ivanov #1471
          RedundantModifier for inner classes and enum constructors. Author: liscju #1242
          Add missing xdocs for allowMultipleEmptyLines property of EmptyLineSeparatorCheck. Author: Andrei Selkin #881
          Add setter for 'ignoreEnums' in LeftCurlyCheck. Author: Andrei Selkin #975
          JavadocType does not check parameters in inner classes. Author: Pavel Baranchikov #1421
          ImportOrderCheck. Fix separation for static imports. Author: Aleksandr Ivanov #1398
          Fix for SuperClone and SuperFinalize checks reporting violations on native methods. Author: Vladislav Lisetskiy #1367
          Fix FallThroughCheck fails on if with no else. Author: Andrei Selkin #1395
          fix JavadocParagraph allows new line before the next paragraph. Author: Vladislav Lisetskiy #1332
          Fix RegexpHeader causing exception with default config. Author: Andrei Selkin #1129
          Fix OneStatementPerLine on multiple field initialization bug. Author: Andrei Selkin #1237
          extend target list fo SuppressWarningsHolder. Author: Vladislav Lisetskiy #1158
          provide human message for SuppressWarningsHolder. Author: Vladislav Lisetskiy #1158
          Raising exception for CustomImportOrder.SAME_PACKAGE. Author: Aleksandr Ivanov #1282
      
      Notes:
      
          Enable CustomImportOrder. Author: Aleksandr Ivanov #1459
          Add UniquePropertiesCheck into checkstyle_checks.xml. Author: Andrei Selkin #1129
          Refactoring of FinalLocalVariableCheck to avoid 'fall through' violation. Author: Andrei Selkin #1395
          Add Organize Imports instructions to site. Author: Aleksandr Ivanov #1448
          Fixed compilation error for CustomImportOrder input file. Author: Aleksandr Ivanov #1470
          ImportOrder enabled in configuration. Author: Aleksandr Ivanov #1448
          Number of updates for. Author: Michal Kordas #1555
          Fixed incorrect Google Java Style links. Author: Andrei Selkin #751
          Refactoring of RightCurlyCheck. Author: Andrei Selkin #1511
          Apply various improvements over Checkstyle test code. Author: Michal Kordas #1542
          Apply various improvements over Checkstyle code. Author: Michal Kordas #1538
          Remove unnecessary consecutive lines in Checkstyle code. Author: Michal Kordas #1534
          Fix some SonarQube violations. Author: Michal Kordas #46
          Enable NonEmptyAtclauseDescription check on Checkstyle code. Author: Michal Kordas #945
          fix for UTs on Windows7 and do not conflict with WindowsServer. Author: Roman Ivanov #1496
          Investigate UTs failure to MainTest on Windows. Author: Roman Ivanov #1510
          fix for build problem in Idea on Windows. Author: Roman Ivanov
          Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.metrics. Author: Ruslan Diachenko #1287
          Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.regexp (partial fix). Author: Ilja Dubinin #1010
          Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.blocks. Author: Ilja Dubinin #1291
          Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.coding. Author: Baratli Izmailov #1293
          Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.modifier. Author: Ruslan Diachenko #1286
          Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.naming. Author: Ruslan Diachenko #1288
          Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.whitespace. Author: Ruslan Diachenko #1289
          Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle. Author: Roman Ivanov #1294
          Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.api. Author: Roman Ivanov #1295
          Make coverage 100% for Indentation check. Author: Michal Kordas #1295
          Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.javadoc. Author: Michal Kordas #1308
          Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.filters. Author: Ruslan Diachenko #1296
          Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.imports. Author: Alexander Ivanov #1128
          Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks. Author: Ilja Dubinin #1290
          Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.header. Author: Ilja Dubinin #1292
          CheckDocsDoclet.java was removed as it is not used in a project.. Author: Roman Ivanov
          Import which produces error on MacOSX jdk has been deleted. Author: Ilja Dubinin
          javadoc: deperecate overview.html and package.html support. Author: Roman Ivanov #1415
          Make "private" methods "static" where possible. Author: Michal Kordas #46
          new images were provided by our artist, new header for web site. Author: Roman Ivanov
          BaseCheckTestSupport.verify fails on Windows. Author: WonderCsabo #1388
          check for connection is done by our website URL, as resource file is there. That let pass test when sourceforge web site is down. Author: Roman Ivanov
          Switch options reoganized for easier reading. Author: Aleksandr Ivanov #1376
          add example for ConstantName in xdoc. Author: Vladislav Lisetskiy #1106
          commented code was removed from CheckerTest. Author: Roman Ivanov
          fix eclipse package declaration error in InputPackageDeclaration. Author: Vladislav Lisetskiy
          Add Gradle to list of related tools Correct SonarQube name and links in same list. Author: Thomas Jensen
          fix structure of site.xml. Author: Vladislav Lisetskiy #1341
          Move tests which cause compilation problem in Eclipse 4.2.2 to non-compilable folder. Author: Andrei Selkin #1351
          Fix integration test compilation error for Windows environment. Author: Michal Kordas #1342
          Fix failing of ITs for OneStatementPerLineCheck. Author: Andrei Selkin #1348
          surefire and failsafe plugins are moved above checkstyle validation to run before long checkstyle execution. Author: Roman Ivanov
          add IT to validate google_checks config. Author: Vladislav Lisetskiy #1275
          rename fields in ConfigurationBuilder and BaseCheckTestSupport. Author: Vladislav Lisetskiy
          update build procedure to validate all XML files against their schemas. Author: Vladislav Lisetskiy #1275
          Fix compilation error for Windows environment. Author: Michal Kordas #1342
          Remove usage of deprecated methods from MainTest. Author: Michal Kordas #1325
          Restore checkstyle validation on nemo.sonarqube.org. Author: Roman Ivanov #1319
          Update Maven Shade Plugin, EqualsVerifier, antlr, system-rules and Maven PMD Plugin to latest versions. Author: Michal Kordas
          system-rules, ant were updated to latest version. Author: Roman Ivanov
          Removed all assert statements. Author: Aleksandr Ivanov #1298
          Fix AbstractClassName Check on checkstyle code. Author: Bhavik Patel #945
          Make Eclipse / m2e plugins generate valid projects. Author: Juan Martín Sotuyo Dodero
      
      Release 6.8.2
      
      Bug fixes:
      
          Incorrect xml structure at google_checks.xml. Author: Vladislav Lisetskiy #1275
      
      Release 6.8.1
      
      Bug fixes:
      
          Cannot use config file bundled in jar. Author: Roman Ivanov #1265
          NullPointerException at java.util.regex.Pattern from com.puppycrawl.tools.checkstyle.checks.regexp.DetectorOptions.getPattern. Author: Michael Vorburger #1224
          StackOverflow at java.util.regex.*. Author: Michael Vorburger #1221
          StackOverflow in com.puppycrawl.tools.checkstyle.checks.regexp.MultilineDetector.findMatch. Author: Michael Vorburger #48
          RightCurly: Curly brace '}' should be on line by itself not reported for method with annotation. Author: Andrei Selkin #1014
      
      Release 6.8
      
      Breaking backward compatibility:
      
          Detect only label as illegal token in IllegalToken check, default token set is changed to TokenTypes.LABELED_STAT. Author: Michal Kordas #1162
          Add possibility to configure targets for ParenPad check, LPAREN and RPAREN were removed from acceptable tokens. Author: Vladislav Lisetskiy #1189
          Set default value of max property to 4 (from 1) for ThrowsCountCheck and update javadoc/xdoc. Author: Andrei Selkin #1143
          Restoring method FileContents.getFileName() to keep backward compatibility for some time. Author: Thomas Jensen #1205
          Rename CheckStyleTask to CheckstyleAntTask, Rename and move checkstyletask.properties. Author: Michal Kordas #1108
          Remove AnnotationUtility and ScopeUtils from API package. Author: Michal Kordas #1057
      
      New:
      
          New option for ModifiedControlVariableCheck: skipEnhancedForLoopVariable. Author: Bhavik Patel #1015
          New options for SingleLineJavadoc: ignoredTags, ignoreInlineTags. Author: Vladislav Lisetskiy #1063
      
      Bug fixes:
      
          correction of parsing of attributes in AtclauseOrderCheck. Author: Vladislav Lisetskiy #1152
          fix for JavadocMethodCheck: catch NoClassDefFoundError in ClassResolver. Author: Vladislav Lisetskiy #1192
          Replace hardcoded message in WhitespaceAfterCheck with new message (i18n). Author: Andrei Selkin #967
          Solution to wrong variable reported because of name shadowing in FinalLocalVariableCheck. Author: Bhavik Patel #1142
          Clarify misleading command line tool (CLI) output. Author: Bhavik Patel #1062
          solution to CLI fails when it could not find output file. Author: Bhavik Patel #1181
          Fixed exception in AvoidStaticImport check trying to exclude members of inner class. Author: Aleksandr Ivanov #1209
          Solution to "Incorrect config file cause CLI finish with error but no output with details". Author: Bhavik Patel #1180
          Fix exception in SuppressWarnings check on complex annotations. Author: Michal Kordas #1201
          Fix value pair representation in SuppressWarnings check. Author: Michal Kordas #1246
          Do not generate violation for empty SuppressWarnings. Author: Michal Kordas #1187
          Fix PackageDeclaration check for files with comments only. Author: Michal Kordas #1149
          Fix exception in SuppressWarningsHolder on complex annotations or annotation with dot. Author: Michal Kordas #1148
      
      Notes:
      
          .gitignore with Eclipse's .externalToolBuilders and .checkstyle from Checkstyle CS Eclipse Plug-in. Author: Michael Vorburger
          100% test coverage for com.puppycrawl.tools.checkstyle.checks.sizes. Author: Andrei Selkin #1024
          Fix empty html pages for extending Checkstyle and style configurations. Author: Vladislav Lisetskiy #1231
          move non-compilable input to resources-noncompilable. Author: Vladislav Lisetskiy
          Minor update in FallThroughCheck xdoc and javadoc. Author: Vladislav Lisetskiy
          PMD violations: UncommentedEmptyMethod, EmptyMethodInAbstractClassShouldBeAbstract, AbstractNaming. Author: Bhavik Patel #995, #997, #983
          Fix violation of EmptyStatement, UncommentedMain, AvoidEscapedUnicodeCharacters, AbbreviationAsWordInName Checks in Checkstyle code. Author: Bhavik Patel #945
          Ineffective suppressions are removed from checkstyle's configs. Author: Bhavik Patel
          Checking existance of config file before processing target file.. Author: Bhavik Patel
          Changed Integration Tests to use /src/it/. Author: Aleksandr Ivanov #1200
          Updated description for UnusedImports, RedundantImport , Change "Beginning Development" page to reference JDK1.8. Author: Aleksandr Ivanov
          UT coverage for RedundantImport. AvoidStarImportCheck check, Added UTs for getAcceptableTokens() and getRequiredTokens(). Author: Aleksandr Ivanov #1128
          CyclomaticComplexity applied with level 11. Author: Roman Ivanov #954
          NPathComplexity: extend documentation to make clear how it works, suppression rules for NPathComplexity. Author: Roman Ivanov #1218, #953
          Content section was added to ease navigation in Checks descriptions pages, favicon images (png,ico) were introduced. Author: Roman Ivanov #1208
          till MECLIPSE-735 we will keep Eclipse project files in repository. Author: Roman Ivanov #1219
          Ordering issue with nested classes in static imports - xdoc was extended. Author: Roman Ivanov #1239
          Update ant to 1.9.5, update for maven-eclipse-plugin to 2.10, system-rules updated to 1.11.0, commons-cli to 1.3.1. Author: Roman Ivanov
          Integrate google-style-config-test as Integration Test. Author: Roman Ivanov #863
          Add known limitations to SuppressWarnings check documentation. Author: Michal Kordas #1252
          Fix PMD violations of ExceptionAsFlowControl, AvoidCatchingGenericException rule. Author: Michal Kordas #959, #962
          Use SHA-1 instead on non-standard SHA in PropertyCacheFile. Author: Michal Kordas #1251
          Add TravisCI build for assembly creation. Author: Michal Kordas #1204
          Provide additional regression test for ParenPad check. Author: Michal Kordas #1189
          Add tests for equals and toString in SuppressionCommentFilter. Author: Michal Kordas #1088
          Move Regexp check from miscellaneous to regexp category. Author: Michal Kordas #1170
          Remove unused MethodCallLineWrapHandler class. Author: Michal Kordas #1178
          Make cobertura and coveralls build faster, Provide workaround for incorrect coverage shown by Cobertura. Author: Michal Kordas #1176
          Generate HTML report on Maven cobertura:cobertura goal. Author: Michal Kordas #1169
          Add virtual machine crash log files to .gitingore. Author: Michal Kordas #1168
          Configure RegexpSinglelineJava to detect non-ASCII characters. Author: Michal Kordas #1165
          Verify that classes with constants have private constructors. Author: Michal Kordas #840
          Update system-rules to 1.10.0, maven-assembly-plugin to 2.5.5, maven-failsafe-plugin to 2.18.1, Maven Shade Plugin to 2.4. Author: Michal Kordas #1156, #1175, #1193, #1204
      

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              tmortagne Thomas Mortagne
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: