All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rules.GenericWhitespace.md Maven / Gradle / Ivy


Checks that the angle brackets around Generics parameters have the correct whitespace padding:

Valid:
````
public void  boolean foo(K, V) {}
class name {}
OrderedPair> p;
boolean same = Util.compare(p1, p2);
Pair p1 = new Pair<>(1, "apple");
List list = ImmutableList.Builder::new;
sort(list, Comparable::compareTo);
````




© 2015 - 2024 Weber Informatics LLC | Privacy Policy