src/share/classes/javax/swing/text/html/Map.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1998, 2008, 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) 1998, 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
*** 35,44 **** --- 35,45 ---- * Once a Map has been created, and any number of areas have been added, * you can test if a point falls inside the map via the contains method. * * @author Scott Violet */ + @SuppressWarnings("serial") // Same-version serialization only class Map implements Serializable { /** Name of the Map. */ private String name; /** An array of AttributeSets. */ private Vector<AttributeSet> areaAttributes;