Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
balhoff committed Jul 1, 2019
1 parent 3c7852e commit a3a537e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -917,13 +917,13 @@ public String getIdentifier(IRI iriId) {
// We then get the object value of this property, which is supposed to be a literal.
OWLAnnotationValue objValue = oa.getValue();
if (objValue.isLiteral() != true) {
LOG.warn("Odd. " + objValue + " of oboInOw#id for "+ iriId + ", is supposed to be an literal, but it is not.");
LOG.warn("Odd. " + objValue + " of oboInOwl#id for "+ iriId + ", is supposed to be an literal, but it is not.");
continue;
}

Optional<OWLLiteral> literalOpt = objValue.asLiteral();
if (literalOpt.isPresent() != true) {
LOG.warn("Odd. " + objValue + " of oboInOw#id for "+ iriId + ", does not exist.");
LOG.warn("Odd. " + objValue + " of oboInOwl#id for "+ iriId + ", does not exist.");
continue;
}

Expand All @@ -933,7 +933,7 @@ public String getIdentifier(IRI iriId) {
}

// In the case where the input class does not have oboInOwl#id, we return its original URL.
LOG.warn("Unable to retrieve the value of oboInOw#id as the identifier for " + iriId + "; we will use an original iri as the identifier.");
LOG.warn("Unable to retrieve the value of oboInOwl#id as the identifier for " + iriId + "; we will use an original iri as the identifier.");
return (String) SerializationUtils.clone(iriId.toString());
}

Expand Down

0 comments on commit a3a537e

Please sign in to comment.