Commit 574df31e authored by Arpad Lovassy's avatar Arpad Lovassy Committed by Gerrit Code Review
Browse files

Merge "Replacing isBlank()"

parents c499c3fa 6ecdba90
......@@ -258,7 +258,7 @@ public class TITANResourceLocatorFieldEditor extends StringFieldEditor {
dialog.setText("Select the target file.");
dialog.setFilterExtensions(getFilterExtensions());
final IPath path = URIUtil.toPath(resolvedPath);
if ( getStringValue().isBlank() ) {
if ( getStringValue().isEmpty() ) {
dialog.setFilterPath(path.toOSString());
} else {
dialog.setFilterPath(path.removeLastSegments(1).toOSString());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment