org.sonar.l10n.checkstyle.com.puppycrawl.tools.checkstyle.checks.whitespace.GenericWhitespaceCheck.html Maven / Gradle / Ivy
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 > > ();
© 2015 - 2025 Weber Informatics LLC | Privacy Policy