Checkstyle 7.0

3 views
Skip to first unread message

Roman Ivanov

unread,
Jun 26, 2016, 7:45:47 PM6/26/16
to checkstyle-announce

Breaking backward compatibility:

  update checkstyle to jdk8 as runtime jdk.
  Modules and XDocs: changed setter methods to recieve similar types with field type for easier xdoc validation.

New:

  VisibilityModifier: allow public final fields.

Bug fixes:

  Ability to differentiate annotation placement in for each loop from variable declaration..
  Java 8 Grammar: Parsing of explicit receiver parameters.
  Java 8 Grammar: annotation on throws types.
  Java 8 Grammar: annotation on generic type.
  CommentsIndentation : Check incorrect work with subsequent comments.
  CommentsIndentation : allow upper comments for following block at multi-block structures.
  CommentsIndentation : false-positive in empty array declarations.
  CommentsIndentation: false-positive when a singleline comment follows a block comment.
  RightCurly rule should properly enforce same rule for LITERAL_DO.
  Proper support for generics in visibility modifier check.
  Indentation: incorrect validation for imports and package.
  Indentation: remove requirement right curlies to be first on line.

Notes:

  doc: fixed checkstyle download url.
  Reduce the number of tasks performed by Travis CI.
  Cut down on Checkstyle's dependencies on Guava.
  doc: update for AnnotationLocation examples to be more exact.
  6 tests in Checkstyle master branch fail at clean Ubuntu 14.04 Docker container (Java 8, Maven 3).
  Avoid catching of InvalidPathException and AccessDeniedException in PropertyCacheFile#persist.
  Review all French translations.
  Improve French translation for annotations warnings.
  Create web-page with instructions: how to create Javadoc Check.
  corrected alphabetical order of the checks.
  CommitValidationTest.testCommitMessageHasSingleLine to support github default format.
  XDoc Config: create unit test to verify property types and default values.

Reply all
Reply to author
Forward
0 new messages