Skip to content

Commit

Permalink
Merge pull request #693 from vChavezB/label-fix
Browse files Browse the repository at this point in the history
External Property Parser: Fix comparison to optional variable
  • Loading branch information
dgarijo committed Apr 8, 2024
2 parents 90406e4 + 814e947 commit 454c913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/widoco/ExternalPropertyParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ private Optional<OWLAnnotation> getLabelAnnotation(OWLEntity entity, String lang
continue;
}
label = getLabel(entity, langPrefix, importedOntology);
if (label != null) return label;
if (!label.isEmpty()) return label;
}
return Optional.empty();
}
Expand Down

0 comments on commit 454c913

Please sign in to comment.