6387360: Usage of package-private class as a parameter of a method (javax.swing.text.ParagraphView)
authorpeterz
Fri, 17 Jul 2009 15:25:51 +0400
changeset 3342 fc3326a698e3
parent 3341 9d092207230a
child 3343 54d3dddd301f
6387360: Usage of package-private class as a parameter of a method (javax.swing.text.ParagraphView) Reviewed-by: malenkov
jdk/src/share/classes/javax/swing/text/ParagraphView.java
--- a/jdk/src/share/classes/javax/swing/text/ParagraphView.java	Thu Jul 16 20:12:14 2009 +0400
+++ b/jdk/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>.