Mercurial > hg > truffle
comparison graal/com.oracle.max.asmdis/src/com/sun/max/asm/gen/risc/field/OptionField.java @ 4142:bc8527f3071c
Adjust code base to new level of warnings.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 18 Dec 2011 05:24:06 +0100 |
parents | e233f5660da4 |
children |
comparison
equal
deleted
inserted
replaced
4141:04d21be7a24f | 4142:bc8527f3071c |
---|---|
65 | 65 |
66 public Option defaultOption() { | 66 public Option defaultOption() { |
67 return defaultOption; | 67 return defaultOption; |
68 } | 68 } |
69 | 69 |
70 protected List<Option> options = new LinkedList<Option>(); | 70 protected List<Option> options = new LinkedList<>(); |
71 | 71 |
72 public Iterable<Option> options() { | 72 public Iterable<Option> options() { |
73 return options; | 73 return options; |
74 } | 74 } |
75 | 75 |
76 @Override | 76 @Override |
77 public OptionField clone() { | 77 public OptionField clone() { |
78 final OptionField result = (OptionField) super.clone(); | 78 final OptionField result = (OptionField) super.clone(); |
79 result.options = new LinkedList<Option>(options); | 79 result.options = new LinkedList<>(options); |
80 return result; | 80 return result; |
81 } | 81 } |
82 | 82 |
83 /** | 83 /** |
84 * Creates a copy of this field that can take an additional value. | 84 * Creates a copy of this field that can take an additional value. |