checkstyle / News: Recent posts

Checkstyle Sonar plugin 3.5.1

Short description of the version:
Issue #63: upgrade to checkstyle 7.5.1

SQ versions compatibility: 5.6.4
JDK: 1.8

Change log URL:

Download URL:

Posted by Roman Ivanov 2017-02-04

Checkstyle 7.5.1

Checkstyle 7.5.1 -

Bug fixes:

PackageObjectFactory hides real exception
RightCurly: handling of try-with-resources on several lines with CS 7.5


Add the Hibernate Search project to the Checkstyle CI

Posted by Roman Ivanov 2017-02-04

Checkstyle Sonar plugin 3.5

Short description of the version:
Issue #62: upgrade to checkstyle 7.5
Issue #61: set sonar login by token, secure token does not work for some reason
Issue #49: fix for 'Missing semicolon'
Issue #61: set sonar url
Issue #61: make sonar public profile to allow binaries be hosted at Sonar Software Update Center
Issue #56: all html pages that has http lnks were updated by content from official html web site... read more

Posted by Roman Ivanov 2017-01-30

Checkstyle 7.5

Checkstyle 7.5 -

Breaking backward compatibility:

ParameterName: deprecate 'scope' and 'excludeScope' properties, introduce new property 'accessModifiers'


Ant: Cannot override default Checker
ImportControl should have property which allows to validate specified file path

Bug fixes:

NullPointerException in AbstractHeaderCheck when cache file specified and no header file
RequireThisCheck doesn't see outer classes for anonymous classes
NPE on type parameter annotations for this
UnusedImports behaviour is different from documentation
Javadoc: Column number of DetailNode is always 0 for first line
FallThrough check doesn't correctly handle try-with-resources
RedundantModifier: no violation on final enum field methods
NPE in RightCurly with LITERAL_DO on do-while without curly braces... read more

Posted by Roman Ivanov 2017-01-29

Checkstyle Sonar Plugin 3.4

Short description of the version:
Issue #54: update to checkstyle 7.4
Issue #52: checkstyle-sonar-plugin does not work with sonar 4.5.2 and 4.5.4 require upgrade to 5.6.4
Issue #49: TC badge was added
Issue #48: findbugs is activated, but there are some cases to investigate in excludes
Issue #47: pmd is enforced on whole code
Issue #46: enforce strict code coverage by cobertura
Issue #45: Some Checvkstyle violations are resolved
Issue #44: upgrade to sonarqube 4.5.4 api
Issue #28: added test to verify read more

Posted by Roman Ivanov 2016-12-31

Checkstyle 7.4

Checkstyle 7.4 -


Support LITERAL_SYNCHRONIZED token for NoWhitespaceAfter Rule
google_checks.xml : NO space is allowed method method name and its arguments
Support more tokens in WhitespaceAfter check
Checker: option to allow printing exception as violation and continue execution
ImportControl: allow to load files from resources... read more

Posted by Roman Ivanov 2016-12-31

Checkstyle Sonar Plugin 3.3

checkstyle-sonar-plugin 3.3 -

Issue #37: upgrade to checkstyle 7.3
Issue #28: fix broken rules test (#50)

Posted by Roman Ivanov 2016-12-24

Checkstyle Sonar Plugin 3.2

checkstyle-sonar-plugin 3.2 -

Issue #36: upgrade to checkstyle 7.2

Posted by Roman Ivanov 2016-12-23

Checkstyle Sonar Plugin 3.1.1 and 3.1.2

checkstyle-sonar-plugin 3.1.1 -
checkstyle-sonar-plugin 3.1.2 -

updated to use checkstyle 7.1.1 and 7.1.2
..... for all changes please read release notes

Posted by Roman Ivanov 2016-12-23

Checkstyle Sonar Plugin 3.1

checkstyle-sonar-plugin 3.1 -

first release from community
updated to use checkstyle 7.1
..... for all changes please read release notes

Posted by Roman Ivanov 2016-12-16

Sevntu Checkstyle 1.23.0

Sevntu Checkstyle 1.23.0 -

Bug fixes:
bug - ForbidCertainImportsCheck: null excludes gives no violations.
bug - ConfusingConditionCheck: NPE from CS. Done by rnveach.
bug - ReturnCountExtendedCheck takes into account 'returns' in lambdas .
bug - Checkstyle Package XML should be in core library JAR .

Huge amount of internal update to code

Posted by Roman Ivanov 2016-12-10

Checkstyle 7.3

Checkstyle 7.3 -

Breaking backward compatibility:

Javadoc grammar: Delete child nodes in Javadoc TEXT node


Update Google style coverage to state of 12 July 2016
Modules and XDocs: changed setter methods to recieve similar types with field type for easier xdoc validation
CLI: Cannot override default Checker
ParameterNameCheck: new scope and excludeScope properties
google_checks.xml CustomImportOrder problem... read more

Posted by Roman Ivanov 2016-11-25

Sevntu Checkstyle 1.22.0

new Check: ForbidAnnotationElementValueCheck
update to eclipse-cs 7.2
update to jdk8

Posted by Roman Ivanov 2016-11-20

Checkstyle 7.2

Checkstyle 7.2 -


DesignForExtension: consider overridable methods and javadoc
ImportControl: allow regex in subpackage elements.
Allow WhitespaceAround for ARRAY_INIT token

Bug fixes:

Inconsistency in AST tructure for block-comments
Checker Cache invalidated falsely on load in second run due to external resources
Wrong warning from AvoidEscapedUnicodeCharacters
Add METHOD_REF to the list of valid tokens for OperatorCheck
DetailAST should invalidate childCount cache
DetailAST should invalidate its methods cache (aka lazy-load)... read more

Posted by Roman Ivanov 2016-10-30

Sevntu Checkstyle 1.21.1

Sevntu Checkstyle 1.21.1 -

update for sevntu-checkstyle-idea-extension to correctly build by maven.
update for ForbidCertainImportsCheck to fix violation message.

Posted by Roman Ivanov 2016-10-15

Checkstyle 7.1.2

Checkstyle 7.1.2 -

Bug fixes:

Wrong order of "default" method modifier
EqualsHashCode: hashCode without equals is not a violation


Revert "Pull #3162: Update version of commons-collections to 3.2.2 to fix security vulnerability CVE-2015-6420"
Cut down on Checkstyle's dependencies on Guava
doc: fixed the wording in javadoc for TrailingCommentCheck
doc: added missing slash to backport documentation url (#3457)
doc: added links to cs backport jre6 (#3447)
Replace line-based suppressions with inline ones for Checkstyle's suppressions.xml
Update Checkstyle GUI in order to display Javadoc tokens
Fix ForbidCertainImports config
use CyclomaticComplexity.switchBlockAsSingleDecisionPoint in checkstyle_checks.xml
SuppressCommentFilter not working with ClassDataAbstractionCoupling when specified on class
Resolve IntelijIdea inspection violations for java8
Replace Guava's Joiner with Java 8 native approach
Fix grammar in issue templates
spelling: PR instructions, YOU --> YOUR

Posted by Roman Ivanov 2016-09-30

Checkstyle 7.1.1

Checkstyle 7.1.1 -

Bug fixes:

EqualsHashCode: hashCode without equals is not a violation
RedundantModifier : missed violations at interface and abstract class methods signatures with final parameters


Remove usage of System.out.println in IT resources
Flaws in German translation
Add NonDex tool to pom.xml and .travis.yml

Posted by Roman Ivanov 2016-09-06

Checkstyle 7.1

Checkstyle 7.1 -


new CLI option: exclude directories
ImportOrder: make static imports ordering as in Eclipse

Bug fixes:

Indentation: incorrect expectation for wrapped arguments of chained calls
RedundantModifier: miss violation on extra final in try-with-resources
RequireThisCheck: false positive on static field
FinalLocalVariable: false positive when variable is assigned inside and outside switch-block
RequireThisCheck: NPE when surrounded by braces... read more

Posted by Roman Ivanov 2016-07-31

Checkstyle 7.0

Checkstyle 7.0 -

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.


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.... read more

Posted by Roman Ivanov 2016-06-26

Sevntu Checkstyle 1.21.0

Sevntu Checkstyle 1.21.0 -

new UniformEnumValueCheck

new javadoc pages for all Checks -

Posted by Roman Ivanov 2016-06-08

Checkstyle 6.19

Checkstyle 6.19 -

Breaking backward compatibility:

aligned setters with String collection fields and broke old compatibility.


new Check: SingleSpaceSeparator.
ReturnCount: special option for methods with void return type.
new CLI argument: provide abililty to show debug level of logs from checkstyle code.
Fix cache usage in presence of filters.... read more

Posted by Roman Ivanov 2016-05-29

Checkstyle 6.18

Checkstyle 6.18 -


Make CLI option to print full parsing tree (java + comments + javadoc comments).
Add the ability to validate language codes by TranslationCheck.
EmptyLineSeparator to check empty lines inside methods.

Bug fixes:

NullPointerException in FinalLocalVariableCheck with Lambdas.
Serious performance problem in All Javadoc Check that are based on ANTLR parser.
CommentsIndentation Check - False Positive at End-of-Method.
Indentation: fix line wrap hanlding.
Indentation module regression in 6.16 and 6.17..
NPE in AnnotationLocationCheck.hasAnnotations.
Execution of checkstyle audit failed caused by inherited javadoc tag.
AvoidEscapedUnicodeCharacters: Tail comment check failed if there's tabs before tail comment..
FinalLocalVariable: false positive when variable is assigned multiple times.
Support for LAMDA token in WhitespaceAround check.... read more

Posted by Roman Ivanov 2016-05-02

Sevntu Checkstyle 1.20.0

Sevntu Checkstyle 1.20.0 -

new ConstructorWithoutParamsCheck - This check prohibits usage of parameterless constructors, including the default ones. Rationale: constructors of certain classes must always take arguments to properly instantiate objects.

new properties for AvoidModifiersForTypes - New options: forbiddenClassesRegexpAnnotation, forbiddenClassesRegexpPrivate, forbiddenClassesRegexpPackagePrivate, forbiddenClassesRegexpProtected, forbiddenClassesRegexpPublic.

Posted by Roman Ivanov 2016-03-25

Checkstyle 6.17

Checkstyle 6.17 -

Breaking backward compatibility:

Add 'baseName' option and remove 'basenameSeparator' option of TranslationCheck.


Make CLI option to be able to print Javadoc tree as plain text.
java9: try structure is not parsable when only name is used.
All messages translated to Chinese.
RequireThis: new option validateOnlyOverlapping.... read more

Posted by Roman Ivanov 2016-03-25

Checkstyle 6.16.1

Checkstyle 6.16.1 -

Bug fixes:

fix TokenTypes compatibility problems between 6.15 and 6.16.
Allow JUnit ClassRule to be public.
FinalParameters should not warn for non-final parameters of native methods .


Revert "Issue #2973: removed unused FLOAT_SUFFIX from java.g".
all rows in coerage table google_style.html shoudl have anchor.
Strive for 100% line coverage for java grammar.

Posted by Roman Ivanov 2016-03-03

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks