result.addAll(this.uncommittedGlobalUniqueIndices);
}
return result;
}
void afterCommit() {
<BUG>if (this.abstractLabel.getSchema().getTopology().isWriteLockHeldByCurrentThread()) {</BUG>
Iterator<GlobalUniqueIndex> globalUniqueIndexIter = this.uncommittedGlobalUniqueIndices.iterator();
while (globalUniqueIndexIter.hasNext()) {
GlobalUniqueIndex globalUniqueIndex = globalUniqueIndexIter.next();
this.globalUniqueIndices.add(globalUniqueIndex);
globalUniqueIndexIter.remove();
}
<BUG>}</BUG>
this.committed = true;

result.addAll(this.uncommittedGlobalUniqueIndices);
}
return result;
}
void afterCommit() {
Iterator<GlobalUniqueIndex> globalUniqueIndexIter = this.uncommittedGlobalUniqueIndices.iterator();
while (globalUniqueIndexIter.hasNext()) {
GlobalUniqueIndex globalUniqueIndex = globalUniqueIndexIter.next();
this.globalUniqueIndices.add(globalUniqueIndex);
globalUniqueIndexIter.remove();
