stmt.execute(sql.toString());
} catch (SQLException e) {
throw new RuntimeException(e);
}
}
<BUG>void afterCommit() {
super.afterCommit();
if (this.getSchema().getTopology().isWriteLockHeldByCurrentThread()) {</BUG>
for (Iterator<VertexLabel> it = this.uncommittedInVertexLabels.iterator(); it.hasNext(); ) {
VertexLabel vertexLabel = it.next();

stmt.execute(sql.toString());
} catch (SQLException e) {
throw new RuntimeException(e);
}
}
void afterCommit() {
Preconditions.checkState(this.getSchema().getTopology().isWriteLockHeldByCurrentThread(), "EdgeLabel.afterCommit must hold the write lock");
super.afterCommit();
for (Iterator<VertexLabel> it = this.uncommittedInVertexLabels.iterator(); it.hasNext(); ) {
VertexLabel vertexLabel = it.next();
