Checkstyle 6.16

5 views
Skip to first unread message

Roman Ivanov

unread,
Feb 28, 2016, 11:23:01 AM2/28/16
to checkstyle-announce

Breaking backward compatibility:

  Move Treewalker cache to Checker.

New:

  Make CLI option to be able to print Javadoc tree as plain text.
  copy Check class to AbstractCheck class to let deprecate Check class.
  Print parse tree from CLI to terminal.

Bug fixes:

  Skip type annotations from validation of ModifierOrderCheck.
  Probable typo in com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck.
  Indentation check reports some incorrect indentation levels on errors.
  6.15 complains about missing @return tag in a overridden method.
  Nesting Checks in each other in config does not produce any error.
  Forbid multiple violation for the same line in IndentaitonCheck.
  LeftCurly not working correctly with lambdas.
  Duplicate error message for static final field in DeclarationOrder check.
  Translation Check: wrong support for resources with language, country, variant.
  Checkstyle internal exceptions lack contextual information.
  Changed semantics of PropertyExpander.
  Indentation properties not applied properly to lambdas.
  VisibilityModifier.allowPublicImmutableFields should allow public immutable fields in enums.
  FinalClass is over aggressive when extending happen inside class.
  WhitespaceAround should have an option allow double-brace initialization.
  Exception when using method reference in lamba "Class<?>[]::new".
  Wasted disk access.
  JavadocType doesn't report unused param tag.
  DeclarationOrder check enforces order that is not possible.
  Tabs are wrongly handled in Indentation check when line is wrapped.
  custom javadoc inline tags cause parse error.
  JavadocStyleCheck: String index out of range: -1.

Notes:

  Strive for 100% line coverage for java grammar.
  Refactor Comments AST Test.
  doc: example to checkstyle's Ant configuration was added to anttask.html.
  Travis: add xwiki project to regeression testing.
  PMD: resolve problems from DefaultPackage rule.
  doc: Improve javadoc of parameters of AnnotationLocationCheck..
  fix java8 compilation broblems in Inputs.
  Create web-page with instructions: how to create Javadoc Check.
  PMD ExceptionAsFlowControl: Do not use exceptions as flow control to create objects in PackageObjectFactory.
  ant with failOnViolation="false" will FAIL.
  Checkstyle cannot be built using JDK9 as tools.jar has been dropped .
  CS' java 8 code isn't compilable.
  doc: NPath documentation is extended.
  Refactor gui package.
  spelling: Correct spelling for fast-forward-merge.sh.
  UTs should be launched in default locale.
  Disallow usage of java.util.Stack and java.util.Vector in code.

Reply all
Reply to author
Forward
0 new messages