core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OMicroTransaction.java
public void commit() {
    if (!active)
      throw error("Inactive micro-transaction on commit");
    if (level < 1)
      throw error("Unbalanced micro-transaction, level = " + level);

    --level;

    if (level == 0) {
      active = false;
      doCommit();
    }
  }
public void commit() {
    if (!active)
      throw error("Inactive micro-transaction on commit");
    if (level < 1)
      throw error("Unbalanced micro-transaction, level = " + level);

    --level;

    if (level == 0) {
      active = false;
      doCommit();
    }
  }
public void commit ( ) { if ( ! active ) throw error ( "Inactive micro-transaction on commit" ) ; if ( level < 1 ) throw error ( "Unbalanced micro-transaction, level = " + level ) ; -- level ; if ( level == 0 ) { active = false ; doCommit ( ) ; } }
Commits the micro-transaction if it's a top-level micro-transaction.
Commits the micro - transaction if it s a top - level micro - transaction .