trackeditor: replace java 11 isBlank() with trim().isEmpty()
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8533 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 1bb69079e0eb6874c17e2fc14a23ad6dde5416d1 Former-commit-id: 450dd6fd8a690b47e92cb3cb5948d33bce9cf0b8
This commit is contained in:
parent
f04b8f4ead
commit
8e04221ad8
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ public class CheckDialog extends JDialog
|
|||
}
|
||||
private Boolean hasText(String text)
|
||||
{
|
||||
return !(text == null || text.isEmpty() || text.isBlank());
|
||||
return !(text == null || text.trim().isEmpty());
|
||||
}
|
||||
private void checkTrackObject(TrackObject trackObject, String type)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue