8200343: Minor JViewport documentation typo
authorkaddepalli
Mon, 02 Apr 2018 16:56:58 +0530
changeset 49687 23ffd7bf415e
parent 49686 007463851678
child 49688 c4460ca1f08c
8200343: Minor JViewport documentation typo Reviewed-by: serb, pkbalakr
src/java.desktop/share/classes/javax/swing/JViewport.java
--- a/src/java.desktop/share/classes/javax/swing/JViewport.java	Mon Apr 02 16:52:11 2018 +0530
+++ b/src/java.desktop/share/classes/javax/swing/JViewport.java	Mon Apr 02 16:56:58 2018 +0530
@@ -61,7 +61,7 @@
  * <p>
  * <b>NOTE:</b>We have implemented a faster scrolling algorithm that
  * does not require a buffer to draw in. The algorithm works as follows:
- * <ol><li>The view and parent view and checked to see if they are
+ * <ol><li>The view and parent view are checked to see if they are
  * <code>JComponents</code>,
  * if they aren't, stop and repaint the whole viewport.
  * <li>If the viewport is obscured by an ancestor, stop and repaint the whole