boolean (@NlsContexts.Label String name) { if (myCurrentChangeSet.isEmpty()) { myCurrentChangeSet = null; return false; } myCurrentChangeSet.setName(name); myCurrentChangeSet.lock(); myStorage.writeNextSet(myCurrentChangeSet); myCurrentChangeSet = null; return true; }