I am using both of the above checks. Is there a way to make it so WhitespaceAfter forces space after commas, EXCEPT when it is in generics? ie I want this to be valid.
public void function(String a, String b) {
Map<String,String> data = Hashtable<String,String>();
// etc...
}
ie space after comma in functions declaration is sensible, but putting it inside the generics seems strange. Especially in the case of this example, adding the space seems to make this harder to read:
public void fn(Connection c, Map<String,Object>>items) {
}