public void dumpOriginal(PrintStream out){
  out.println("seq\tversion\ttime\tclasses\tNCSS\tadded\tnewCode\tfixed\tremoved\tretained\tdead\tactive");
  for (int i=0; i < versionList.length; ++i) {
    Version version=versionList[i];
    AppVersion appVersion=sequenceToAppVersionMap.get(version.getSequence());
    out.print(i);
    out.print('\t');
    out.print(appVersion != null ? appVersion.getReleaseName() : "");
    out.print('\t');
    if (formatDates) {
      out.print("\"" + (appVersion != null ? dateFormat.format(new Date(appVersion.getTimestamp())) : "") + "\"");
    }
 else {
      out.print(appVersion != null ? appVersion.getTimestamp() / 1000 : 0L);
    }
    out.print('\t');
    if (appVersion != null) {
      out.print(appVersion.getNumClasses());
      out.print('\t');
      out.print(appVersion.getCodeSize());
    }
 else {
      out.print("\t0\t0");
    }
    for (int j=0; j < TUPLE_SIZE; ++j) {
      out.print('\t');
      out.print(version.get(j));
    }
    out.println();
  }
}

public void dumpOriginal ( PrintStream out ) { out . println ( "seq\tversion\ttime\tclasses\tNCSS\tadded\tnewCode\tfixed\tremoved\tretained\tdead\tactive" ) ; for ( int i = 0 ; i < versionList . length ; ++ i ) { Version version = versionList [ i ] ; AppVersion appVersion = sequenceToAppVersionMap . get ( version . getSequence ( ) ) ; out . print ( i ) ; out . print ( '\t' ) ; out . print ( appVersion != null ? appVersion . getReleaseName ( ) : "" ) ; out . print ( '\t' ) ; if ( formatDates ) { out . print ( "\"" + ( appVersion != null ? dateFormat . format ( new Date ( appVersion . getTimestamp ( ) ) ) : "" ) + "\"" ) ; } else { out . print ( appVersion != null ? appVersion . getTimestamp ( ) / 1000 : 0L ) ; } out . print ( '\t' ) ; if ( appVersion != null ) { out . print ( appVersion . getNumClasses ( ) ) ; out . print ( '\t' ) ; out . print ( appVersion . getCodeSize ( ) ) ; } else { out . print ( "\t0\t0" ) ; } for ( int j = 0 ; j < TUPLE_SIZE ; ++ j ) { out . print ( '\t' ) ; out . print ( version . get ( j ) ) ; } out . println ( ) ; } }
this is how dump ( ) was implemented up to and including version 0 . 9 . 5 .
