changeset 1521:59249ab7aa16

6387360: Usage of package-private class as a parameter of a method (javax.swing.text.ParagraphView) Reviewed-by: malenkov
author peterz
date Fri, 17 Jul 2009 15:25:51 +0400
parents f727cac13697
children 4575323d917c
files src/share/classes/javax/swing/text/ParagraphView.java
diffstat 1 files changed, 0 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/swing/text/ParagraphView.java	Thu Jul 16 20:12:14 2009 +0400
+++ b/src/share/classes/javax/swing/text/ParagraphView.java	Fri Jul 17 15:25:51 2009 +0400
@@ -175,23 +175,6 @@
     }
 
     /**
-     * Adjusts the given row if possible to fit within the
-     * layout span.  By default this will try to find the
-     * highest break weight possible nearest the end of
-     * the row.  If a forced break is encountered, the
-     * break will be positioned there.
-     * <p>
-     * This is meant for internal usage, and should not be used directly.
-     *
-     * @param r the row to adjust to the current layout
-     *          span
-     * @param desiredSpan the current layout span >= 0
-     * @param x the location r starts at
-     */
-    protected void adjustRow(Row r, int desiredSpan, int x) {
-    }
-
-    /**
      * Returns the next visual position for the cursor, in
      * either the east or west direction.
      * Overridden from <code>CompositeView</code>.