Auto-Complete issue

Hi, I'm trying IntelliJ community and I'm really considering purchasing the ultimate version... I have an issue today and I don't know how to solve it or how I did it.
Yesterday when I create a variable with its generics type like a Map<String, String> for example and use the autocomplete to instanciate it with a new HashMap<String, String> it put the generics type automatically. Today, I don't know I did, when I use the autocomplete it generates just a HashMap<> with not generics...
How to solve it?

Thanks in advance.

1 comment
Comment actions Permalink

The <> syntax is new for Java 7. This is valid and recommended syntax, but if you don't want to use it, change the language level to Java 6.

0

Please sign in to leave a comment.