I use eclipse 4.5 to create this class:
public class GenericTest extends ArrayList<String>implements Comparator<String> {
...
}
However, as you can see, formatting is strange, because there is no space between the general type <String>and the sentence implements. This happens with both Java Conventions formatting and eclipse formatting (as the default formatter for eclipse). I cannot find an option in the formatting rules to override this behavior. In previous versions of eclipse, I never experienced this problem (4.4, 4.3, 3.7).
How can I say that the formatter inserts a space at this position?
source
share