src/share/classes/sun/swing/BakedArrayList.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 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. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2003, 2014, 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. Oracle designates this
*** 41,50 **** --- 41,51 ---- * iterating through the elements invoking hashCode. This also assumes you'll * only ever compare a BakedArrayList to another BakedArrayList. * * @author Scott Violet */ + @SuppressWarnings("serial") // JDK-implementation class public class BakedArrayList extends ArrayList { /** * The cached hashCode. */ private int _hashCode;