Fix string check
This commit is contained in:
parent
9cb377d7f2
commit
959888534b
1 changed files with 1 additions and 1 deletions
|
@ -758,7 +758,7 @@ public class AddAssociatedConceptsPreprocessor extends
|
||||||
if(numberLabels == 1) {
|
if(numberLabels == 1) {
|
||||||
String label = conceptSemanticTypeLabels[0];
|
String label = conceptSemanticTypeLabels[0];
|
||||||
String uri = getURIForSemanticTypeLabel(label);
|
String uri = getURIForSemanticTypeLabel(label);
|
||||||
if(uri != "") {
|
if(!StringUtils.isEmpty(uri)) {
|
||||||
String[] urisToAdd = new String[1];
|
String[] urisToAdd = new String[1];
|
||||||
urisToAdd[0] = uri;
|
urisToAdd[0] = uri;
|
||||||
pseudoInputString = new StringBuilder(uri);
|
pseudoInputString = new StringBuilder(uri);
|
||||||
|
|
Loading…
Add table
Reference in a new issue