Mercurial > hg > truffle
diff graal/com.oracle.max.asmdis/src/com/sun/max/asm/gen/InstructionDescriptionCreator.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/InstructionDescriptionCreator.java Sun Dec 18 05:23:52 2011 +0100 +++ b/graal/com.oracle.max.asmdis/src/com/sun/max/asm/gen/InstructionDescriptionCreator.java Sun Dec 18 05:24:06 2011 +0100 @@ -48,7 +48,7 @@ return instructionDescription; } - private final List<InstructionDescription_Type> instructionDescriptions = new LinkedList<InstructionDescription_Type>(); + private final List<InstructionDescription_Type> instructionDescriptions = new LinkedList<>(); private static void deepCopy(Object[] src, List<Object> dst) { for (Object object : src) { @@ -61,7 +61,7 @@ } protected InstructionDescription_Type define(Object... specifications) { - List<Object> specList = new ArrayList<Object>(specifications.length * 2); + List<Object> specList = new ArrayList<>(specifications.length * 2); deepCopy(specifications, specList); return defineInstructionDescription(specList); }