Checkstyle 8.19

0 views
Skip to first unread message

Roman Ivanov

unread,
Mar 31, 2019, 5:10:20 PM3/31/19
to checkstyle-announce
Checkstyle 8.19 - https://checkstyle.org/releasenotes.html#Release_8.19

Breaking backward compatibility:

  Xpath: change implementation of the @text attribute
  Remove `cache` field from TreeWalker in Checkstyle 8.0
  Remove DTDs from http://checkstyle.sourceforge.net and from http://puppycrawl.com/
  Remove hashCode and equals methods from FilterSet

New:

  Add tabWidth to Checker and FileSets
  AnnotationLocation: add support for PACKAGE_DEF, ENUM_CONSTANT_DEF

Bug fixes:

  JavadocUtil doesn't recognize Javadocs in certain places
  False positive in AnnotationUseStyle for version 8.17
  Overly complex default regex in SuppressWarnings format
  Remove AvoidInlineConditionals from sun_checks.xml
  Javadoc for package-info file is not validated

Notes:

  Wrong documentation for InnerAssignment
  doc: added documentation for global tabWidth
  Align XDocs and Javadocs for coding package
  Exclude module-info.java from Google and Sun configurations
  Fix PMD violation UseProperClassLoader
  Enable PMD rule UseUnderscoresInNumericLiterals
  Verify all modules are listed in contribution no exception configurations
  Enable PMD rule LinguisticNaming
  Java Grammar: Hard to understand message
  Site files are not schema-valid
  minor: reset the test stream for each test
  Upgrade to PMD 6.12.0
  Align XDocs and Javadocs for annotations package
  Disable XML External Entity load in XmlUtil.java in tests
  Align XDocs and Javadocs for blocks package
  Wrong JavaDoc example for NestedForDepthCheck
  Fix PMD violation CommentDefaultAccessModifier
  Enforce FileTabCharacter and RegexpSingleline for trailing whitespace over resources
  Setup checkstyle validation to forbid type StringBuffer
  Cut down on Checkstyle's dependencies on Guava, phase II
  resolve warning in build output from PMD 
  Expand checkstyle_resources_checks.xml to IT resources
  links in header comment block of sun_checks.xml are outdated 
  Align XDocs and Javadocs
  MissingOverride javaFiveCompatibility true in checkstyle_checks.xml
  Typo in Lcurly docs
  Unclear rational in ExplicitInitialization
  Wrong public identifier in doctype of example empty suppressions file
  Typo in docs of VisibilityModifier
  spelling: fix then / than typos
  spelling: update messages for french translation
  Code samples for Naming Checks
  EmptyCatchBlock change property types to Regexp
  Make all FilterElements immutable
  Remove hashCode/equals from SuppressionFilter and mark SuppressFilterElement as immutable
  MissingDeprecated description has a typo
Reply all
Reply to author
Forward
0 new messages