The diamond operator ("<>") should be used (squid:S2293)
This rule is applicable for java version 7 or Above
Java 7 introduced the diamond operator (<>) to reduce the verbosity of generics code.
For instance, instead of having to declare a List's type in both its declaration and its constructor, you can n...
hashcodehub.hashnode.dev1 min read