diff graal/com.oracle.max.asmdis/src/com/sun/max/asm/gen/InstructionDescription.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
line wrap: on
line diff
--- a/graal/com.oracle.max.asmdis/src/com/sun/max/asm/gen/InstructionDescription.java	Sun Dec 18 05:23:52 2011 +0100
+++ b/graal/com.oracle.max.asmdis/src/com/sun/max/asm/gen/InstructionDescription.java	Sun Dec 18 05:24:06 2011 +0100
@@ -75,7 +75,7 @@
      */
     public List<InstructionConstraint> constraints() {
         if (constraints == null) {
-            constraints = new ArrayList<InstructionConstraint>(specifications.size());
+            constraints = new ArrayList<>(specifications.size());
             for (Object s : specifications) {
                 if (s instanceof InstructionConstraint) {
                     constraints.add((InstructionConstraint) s);