--- jsr166/src/test/jtreg/util/LinkedList/Clone.java 2009/09/01 01:25:52 1.1 +++ jsr166/src/test/jtreg/util/LinkedList/Clone.java 2018/01/08 03:12:03 1.4 @@ -1,5 +1,5 @@ /* - * Copyright 1999 Sun Microsystems, Inc. All Rights Reserved. + * Copyright (c) 1999, 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 @@ -16,9 +16,9 @@ * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * - * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, - * CA 95054 USA or visit www.sun.com if you need additional information or - * have any questions. + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. */ /* @@ -29,7 +29,9 @@ * TreeMap. */ -import java.util.*; +import java.util.LinkedList; +import java.util.TreeMap; +import java.util.TreeSet; public class Clone { public static void main(String[] args) { @@ -74,7 +76,7 @@ public class Clone { throw new RuntimeException("TreeMap.clone() is broken."); } - private static class LinkedList2 extends LinkedList {}; - private static class TreeSet2 extends TreeSet {}; - private static class TreeMap2 extends TreeMap {}; + private static class LinkedList2 extends LinkedList {} + private static class TreeSet2 extends TreeSet {} + private static class TreeMap2 extends TreeMap {} }