core/src/main/java/com/orientechnologies/orient/core/storage/ridbag/sbtree/OSBTreeRidBag.java
private boolean removeFromNewEntries(final OIdentifiable identifiable) {
    OModifiableInteger counter = newEntries.get(identifiable);
    if (counter == null) {
      return false;
    } else {
      if (counter.getValue() == 1) {
        newEntries.remove(identifiable);
      } else {
        counter.decrement();
      }
      return true;
    }
  }
private boolean removeFromNewEntries(final OIdentifiable identifiable) {
    OModifiableInteger counter = newEntries.get(identifiable);
    if (counter == null) {
      return false;
    } else {
      if (counter.getValue() == 1) {
        newEntries.remove(identifiable);
      } else {
        counter.decrement();
      }
      return true;
    }
  }
private boolean removeFromNewEntries ( final OIdentifiable identifiable ) { OModifiableInteger counter = newEntries . get ( identifiable ) ; if ( counter == null ) { return false ; } else { if ( counter . getValue ( ) == 1 ) { newEntries . remove ( identifiable ) ; } else { counter . decrement ( ) ; } return true ; } }
Removes entry with given key from {@link #newEntries}.

@param identifiable key to remove

@return true if entry have been removed
Removes entry with given key from { @link #newEntries } .