Commit 6ecdba90 authored by Adam Knapp's avatar Adam Knapp
Browse files

Replacing isBlank()



Change-Id: I6748e85b56525202779f9952b2b12e074e5603ab
Signed-off-by: default avatarAdam Knapp <adam.knapp@sigmatechnology.se>
parent 94cfe6c5
...@@ -258,7 +258,7 @@ public class TITANResourceLocatorFieldEditor extends StringFieldEditor { ...@@ -258,7 +258,7 @@ public class TITANResourceLocatorFieldEditor extends StringFieldEditor {
dialog.setText("Select the target file."); dialog.setText("Select the target file.");
dialog.setFilterExtensions(getFilterExtensions()); dialog.setFilterExtensions(getFilterExtensions());
final IPath path = URIUtil.toPath(resolvedPath); final IPath path = URIUtil.toPath(resolvedPath);
if ( getStringValue().isBlank() ) { if ( getStringValue().isEmpty() ) {
dialog.setFilterPath(path.toOSString()); dialog.setFilterPath(path.toOSString());
} else { } else {
dialog.setFilterPath(path.removeLastSegments(1).toOSString()); 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