src/share/classes/javax/swing/JViewport.java

Print this page

        

@@ -659,11 +659,11 @@
     /**
      * Returns true if scroll mode is a {@code BACKINGSTORE_SCROLL_MODE} to cause
      * painting to originate from {@code JViewport}, or one of its
      * ancestors. Otherwise returns {@code false}.
      *
-     * @return true if if scroll mode is a {@code BACKINGSTORE_SCROLL_MODE}.
+     * @return true if scroll mode is a {@code BACKINGSTORE_SCROLL_MODE}.
      * @see JComponent#isPaintingOrigin()
      */
     protected boolean isPaintingOrigin() {
         return scrollMode == BACKINGSTORE_SCROLL_MODE;
     }