# | Line 49 | Line 49 | public class SetFromMap { | |
---|---|---|
49 | ||
50 | private static void realMain() throws Throwable { | |
51 | try { | |
52 | < | Map<String,Boolean> m = new IdentityHashMap<String,Boolean>(); |
52 | > | Map<String,Boolean> m = new IdentityHashMap<>(); |
53 | Set<String> s = Collections.newSetFromMap(m); | |
54 | String foo1 = new String("foo"); | |
55 | String foo2 = new String("foo"); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |