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

Comparing jsr166/src/test/jtreg/util/HashMap/SetValue.java (file contents):
Revision 1.3 by jsr166, Sat Oct 21 00:44:23 2017 UTC vs.
Revision 1.4 by jsr166, Sun Oct 22 02:59:18 2017 UTC

# Line 35 | Line 35 | public class SetValue {
35      static final String oldValue = "old";
36      static final String newValue = "new";
37  
38 <    public static void main(String args[]) throws Exception {
38 >    public static void main(String[] args) throws Exception {
39          Map m = new HashMap();
40          m.put(key, oldValue);
41          Map.Entry e = (Map.Entry) m.entrySet().iterator().next();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines