diff --git a/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTextUI.java b/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTextUI.java index 094f5be68c566..72524c78637d7 100644 --- a/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTextUI.java +++ b/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTextUI.java @@ -1029,10 +1029,9 @@ public Dimension getMaximumSize(JComponent c) { /** - * Gets the allocation to give the root View. Due - * to an unfortunate set of historical events this - * method is inappropriately named. The Rectangle - * returned has nothing to do with visibility. + * Gets the allocation to give the root View. + * The Rectangle returned has nothing to do with visibility but + * the method is thus named to preserve backward compatibility. * The component must have a non-zero positive size for * this translation to be computed. *