ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/jtreg/util/IdentityHashMap/ToString.java
(Generate patch)

Comparing jsr166/src/test/jtreg/util/IdentityHashMap/ToString.java (file contents):
Revision 1.5 by jsr166, Sun Oct 11 00:58:42 2015 UTC vs.
Revision 1.6 by jsr166, Wed Jan 4 04:46:19 2017 UTC

# Line 32 | Line 32 | import java.util.*;
32  
33   public class ToString {
34      public static void main(String[] args) {
35 <        Map<String, String> m = new IdentityHashMap<String, String>();
35 >        Map<String, String> m = new IdentityHashMap<>();
36          Set<Map.Entry<String, String>> es = m.entrySet();
37          m.put("beer", "good");
38          Iterator<Map.Entry<String, String>> i = es.iterator();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines