/**
  * Returns the next operation after the current one if one exists, otherwise returns the current
  * operation.
  *
  * @return
  */
 public E getNext() {
   if (this.currentPlaybackOp != (this.getMaximum())) {
     return log.getOpSequence().get(currentPlaybackOp + 1);
   } else {
     Debug.println("last op");
     return this.getCurrentOp();
   }
 }
  /**
   * Load MetaMetadataRepository from one file.
   *
   * @param file
   * @param metadataTScope
   * @return repository
   */
  private static MetaMetadataRepository readRepository(
      File file, TranslationScope metaMetadataTScope) {
    MetaMetadataRepository repos = null;
    try {
      repos = (MetaMetadataRepository) ElementState.translateFromXML(file, metaMetadataTScope);
    } catch (XMLTranslationException e) {
      Debug.error(
          "MetaMetadataRepository", "translating repository source file " + file.getAbsolutePath());
    }

    return repos;
  }