Skip to content

Commit

Permalink
Merge pull request #285 from owlcollab/spelling
Browse files Browse the repository at this point in the history
Fix typo.
  • Loading branch information
balhoff authored Jul 1, 2019
2 parents 3c7852e + a3a537e commit 5518cab
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 5518cab

Please sign in to comment.