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

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 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

@@ -48,10 +48,11 @@
 /**
  * CSS-style borders for HTML elements.
  *
  * @author Sergey Groznyh
  */
+@SuppressWarnings("serial") // Superclass is not serializable across versions
 class CSSBorder extends AbstractBorder {
 
     /** Indices for the attribute groups.  */
     final static int COLOR = 0, STYLE = 1, WIDTH = 2;