Open romani opened 6 years ago
Hi @romani,
i have started working on this issue and i have two questions:
abstract <K, V> void clearCache(Map<K,V> cache);
or
abstract <K> void clearCache(Map<K,?> cache);
public static Set<String> getPackages(Set<Class<?>> modules)
this should not be reported as violation, right ?
or
public static Node findElementByTag(Set<Node> nodes, String tag)
You can check the code, which is almost done. After clarifying this, i will fix the build and update my pull request accordingly.
Quote from book "Effective Java", edition 3 , "ITEM 31: USE BOUNDED WILDCARDS TO INCREASE API FLEXIBILITY 145":
should be applicable only to public methods with demand to make "same" method but as private.