core/src/main/java/com/orientechnologies/orient/core/index/OIndexChangesWrapper.java
@Override
  public Set<OIdentifiable> toValues() {
    if (source.isRebuilding())
      throwRebuildException();

    final Set<OIdentifiable> values = delegate.toValues();

    if (source.getRebuildVersion() != indexRebuildVersion)
      throwRebuildException();

    return values;
  }
@Override
  public Set<OIdentifiable> toValues() {
    if (source.isRebuilding())
      throwRebuildException();

    final Set<OIdentifiable> values = delegate.toValues();

    if (source.getRebuildVersion() != indexRebuildVersion)
      throwRebuildException();

    return values;
  }
@ Override public Set < OIdentifiable > toValues ( ) { if ( source . isRebuilding ( ) ) throwRebuildException ( ) ; final Set < OIdentifiable > values = delegate . toValues ( ) ; if ( source . getRebuildVersion ( ) != indexRebuildVersion ) throwRebuildException ( ) ; return values ; }
{@inheritDoc}
{