RFR: 6955128: Spec for javax.swing.plaf.basic.BasicTextUI.getVisibleEditorRect contains inappropriate wording
Tejesh R
tr at openjdk.org
Wed Jun 18 05:16:28 UTC 2025
On Tue, 17 Jun 2025 12:43:23 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> BasicTextUI.getVisibleEditorRect wording is rephrased to remove the wording "Due to an unfortunate set of historical events this method is inappropriately named".
src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTextUI.java line 1034:
> 1032: * Gets the allocation to give the root View.
> 1033: * The Rectangle returned has nothing to do with visibility but
> 1034: * the method is thus named to preserve backward compatibility.
Suggestion:
* the method name is preserved for backward compatibility.
If method name is retained from past then this sentence would be right ?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25850#discussion_r2153658561
More information about the client-libs-dev
mailing list