src/share/classes/javax/swing/text/html/CommentView.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1998, 2004, 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
*** 113,122 ****
--- 113,123 ----
static final Border CBorder = new CommentBorder();
static final int commentPadding = 3;
static final int commentPaddingD = commentPadding * 3;
+ @SuppressWarnings("serial") // Superclass is not serializable across versions
static class CommentBorder extends LineBorder {
CommentBorder() {
super(Color.black, 1);
}