< prev index next >

src/jdk.internal.vm.compiler/share/classes/jdk.internal.vm.compiler.collections.test/src/jdk/internal/vm/compiler/collections/test/EconomicSetTest.java

Print this page
rev 52509 : [mq]: graal2

*** 1,7 **** /* ! * Copyright (c) 2017, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 20,29 **** --- 20,45 ---- * or visit www.oracle.com if you need additional information or have any * questions. */ + + + + + + + + + + + + + + + + package jdk.internal.vm.compiler.collections.test; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator;
*** 143,153 **** Assert.assertEquals(initialList, removalList); Assert.assertEquals(1, finalList.size()); Assert.assertEquals(newInteger(9), finalList.get(0)); } ! @SuppressWarnings("deprecation") private static Integer newInteger(int value) { return new Integer(value); } } --- 159,169 ---- Assert.assertEquals(initialList, removalList); Assert.assertEquals(1, finalList.size()); Assert.assertEquals(newInteger(9), finalList.get(0)); } ! @SuppressWarnings({"deprecation", "unused"}) private static Integer newInteger(int value) { return new Integer(value); } }
< prev index next >