Skip to content

Commit da45ff7

Browse files
committed
Rename IdentifierType.Unkown to IdentifierType.Unknown
1 parent 263b07a commit da45ff7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/java/org/spdx/spdxRdfStore/RdfStore.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public RdfStore() {
100100
}
101101

102102
/**
103-
* Create an RDF store and initialize it with an data deserialized from stream using the documentUri
103+
* Create an RDF store and initialize it with a data deserialized from stream using the documentUri
104104
* for ID prefixes
105105
* @param stream stream of an RDF model
106106
* @throws IOException on IO error
@@ -222,7 +222,7 @@ public IdType getIdType(String objectUri) {
222222
id = CompatibleModelStoreWrapper.objectUriToId(false, objectUri, documentUri);
223223
} catch (InvalidSPDXAnalysisException e) {
224224
logger.warn("Error converting object URI to ID for URI: {}", objectUri, e);
225-
return IdType.Unkown;
225+
return IdType.Unknown;
226226
}
227227
if (SpdxConstantsCompatV2.LICENSE_ID_PATTERN.matcher(id).matches()) {
228228
return IdType.LicenseRef;
@@ -233,7 +233,7 @@ public IdType getIdType(String objectUri) {
233233
if (SpdxConstantsCompatV2.SPDX_ELEMENT_REF_PATTERN.matcher(id).matches()) {
234234
return IdType.SpdxId;
235235
}
236-
return IdType.Unkown;
236+
return IdType.Unknown;
237237
}
238238

239239
/* (non-Javadoc)
@@ -645,7 +645,7 @@ public void deSerialize(InputStream stream, boolean overwrite, String documentNa
645645
}
646646

647647
@Override
648-
public Optional<String> getCaseSensisitiveId(String documentUri, String caseInsensisitiveId) {
648+
public Optional<String> getCaseSensitiveId(String documentUri, String caseInsensisitiveId) {
649649
if (Objects.isNull(modelManager)) {
650650
return Optional.empty();
651651
}

0 commit comments

Comments
 (0)