<Swing Dev> Integrated: 8263454: com.apple.laf.AquaFileChooserUI ignores the result of String.trim()

Alexander Zvegintsev azvegint at openjdk.java.net
Thu Mar 25 13:55:27 UTC 2021


On Mon, 22 Mar 2021 22:19:18 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

> Looks like the original idea was to set `fallbacktext` on strings containing only spaces.
> 
> I decided to remove the `trim()` call to keep the same behavior and to allows to set such meaningless space only titles/tooltips(same as on other platforms, maybe someone want empty label for some reason).

This pull request has now been integrated.

Changeset: c037e1ed
Author:    Alexander Zvegintsev <azvegint at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/c037e1ed
Stats:     11 lines in 1 file changed: 0 ins; 4 del; 7 mod

8263454: com.apple.laf.AquaFileChooserUI ignores the result of String.trim()

Reviewed-by: serb, pbansal, kizune, trebari, psadhukhan

-------------

PR: https://git.openjdk.java.net/jdk/pull/3136


More information about the swing-dev mailing list