6387360: Usage of package-private class as a parameter of a method (javax.swing.text.ParagraphView)
Reviewed-by: malenkov
--- 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
@@ -172,23 +172,6 @@ public class ParagraphView extends FlowV
*/
protected View getLayoutView(int index) {
return layoutPool.getView(index);
- }
-
- /**
- * 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) {
}
/**