On Tue, 20 Dec 2022 23:38:31 GMT, Alexander Zuev <[email protected]> wrote:
> Slightly updated original fix - got rid of the extra flasher reset. Tests are
> fixed to be more stable and pass on the corresponding platforms.
Marked as reviewed by aivanov (Reviewer).
src/java.desktop/share/classes/javax/swing/text/DefaultCaret.java line 1069:
> 1067: }
> 1068: if (component.isEditable()) {
> 1069: if (isBlinkRateSaved) {
Suggestion:
if (component.isEditable() && isBlinkRateSaved) {
Less indentation and the same behaviour.
-------------
PR: https://git.openjdk.org/jdk20/pull/68