jdk/src/share/classes/javax/swing/border/CompoundBorder.java
changeset 1286 2c43fda67ddf
parent 2 90ce3da70b43
child 1639 a97859015238
--- a/jdk/src/share/classes/javax/swing/border/CompoundBorder.java	Thu Jul 24 14:34:02 2008 +0400
+++ b/jdk/src/share/classes/javax/swing/border/CompoundBorder.java	Thu Jul 24 14:51:13 2008 +0400
@@ -79,10 +79,13 @@
     }
 
     /**
-     * Returns whether or not this compound border is opaque.
-     * Returns true if both the inside and outside borders are
-     * non-null and opaque; returns false otherwise.
+     * Returns whether or not the compound border is opaque.
+     *
+     * @return {@code true} if the inside and outside borders
+     *         are each either {@code null} or opaque;
+     *         or {@code false} otherwise
      */
+    @Override
     public boolean isBorderOpaque() {
         return (outsideBorder == null || outsideBorder.isBorderOpaque()) &&
                (insideBorder == null || insideBorder.isBorderOpaque());