org.sonar.l10n.checkstyle.rules.checkstyle.com.puppycrawl.tools.checkstyle.checks.whitespace.GenericWhitespaceCheck.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-checkstyle-plugin Show documentation
Show all versions of sonar-checkstyle-plugin Show documentation
Checkstyle is a code analyser to help programmers write Java code that adheres to a coding standard.
Checks that the whitespace around the Generic tokens < and > is correct to the typical convention. The convention is not configurable.
For example the following is legal:
List x = new ArrayList();
List> y = new ArrayList>();
But the following example is not:
List < Integer > x = new ArrayList < Integer > ();
List < List < Integer > > y = new ArrayList < List < Integer > > ();