Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/main/java/org/spdx/library/ModelCopyManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,10 @@ private String sourceUriToObjectUri(String sourceUri, IdType idType, IModelStore
}
if (Objects.isNull(toNamespace) || toNamespace.isEmpty() ||
sourceUri.startsWith(toNamespace)) {
logger.warn("{} already exists - possibly overwriting properties due to a copy from a different model store.", sourceUri);
if (!sourceUri.startsWith("https://spdx.org")) {
// It is not a pre-defined SPDX URI
logger.warn("{} already exists - possibly overwriting properties due to a copy from a different model store.", sourceUri);
}
return sourceUri;
}
switch (idType) {
Expand Down
Loading