Skip to content
Snippets Groups Projects
Commit 4996e700 authored by vkovtun's avatar vkovtun
Browse files

SSDM-13256: Made 1 the default version value instead of 0.

parent 14615b8b
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -38,7 +38,7 @@ public class VersionUtils
if (importType == ImportTypes.VOCABULARY_TERM) {
importTypeAsString += "-" + vocabularyCodeOrNull;
}
return versions.getOrDefault(VersionUtils.getKey(importTypeAsString, typeCode), 0);
return versions.getOrDefault(VersionUtils.getKey(importTypeAsString, typeCode), 1);
}
public static Integer getStoredVersion(Map<String, Integer> versions, String prefix, String creationCode)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment