Skip to content

Commit

Permalink
SqaleRepositoryService: removed one unused version set in addObject
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Mar 21, 2022
1 parent ad51459 commit 89c0c99
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,6 @@ public <T extends ObjectType> String addObject(
object.checkConsistence(ConsistencyCheckScope.MANDATORY_CHECKS_ONLY);
}

if (object.getVersion() == null) {
object.setVersion("1");
}

return object.getOid() == null || !options.isOverwrite()
? executeAddObject(object)
: executeOverwriteObject(object);
Expand Down

0 comments on commit 89c0c99

Please sign in to comment.