private void loadNames() throws IOException {
  mNames=new PrereadNames(mDirectory,mRegion,false);
  if (mIndexFile.getVersion() >= IndexFile.SEPARATE_CHECKSUM_VERSION && mRegion.getStart() == 0 && mRegion.getEnd() == mIndexFile.getNumberSequences()) {
    if (mNames.calcChecksum() != mIndexFile.getNameChecksum()) {
      throw new CorruptSdfException("Sequence names failed checksum - SDF may be corrupt: \"" + mDirectory + "\"");
    }
 else {
      Diagnostic.developerLog("Sequence names passed checksum");
    }
  }
}

private void loadNames ( ) throws IOException { mNames = new PrereadNames ( mDirectory , mRegion , false ) ; if ( mIndexFile . getVersion ( ) >= IndexFile . SEPARATE_CHECKSUM_VERSION && mRegion . getStart ( ) == 0 && mRegion . getEnd ( ) == mIndexFile . getNumberSequences ( ) ) { if ( mNames . calcChecksum ( ) != mIndexFile . getNameChecksum ( ) ) { throw new CorruptSdfException ( "Sequence names failed checksum - SDF may be corrupt: \"" + mDirectory + "\"" ) ; } else { Diagnostic . developerLog ( "Sequence names passed checksum" ) ; } } }
load the names if they haven ' t already been loaded .
