Changeset 2416


Ignore:
Timestamp:
03/08/07 10:50:15 (13 years ago)
Author:
curtis
Message:

Use "reader" instead of "readers[0]", since readers might be null.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/FileStitcher.java

    r2414 r2416  
    411411  /* @see IFormatReader#getChannelStatCalculationStatus */ 
    412412  public boolean getChannelStatCalculationStatus() { 
    413     return readers[0].getChannelStatCalculationStatus(); 
     413    return reader.getChannelStatCalculationStatus(); 
    414414  } 
    415415 
     
    560560  /* @see IFormatReader#isColorTableIgnored() */ 
    561561  public boolean isColorTableIgnored() {  
    562     return readers[0].isColorTableIgnored();  
     562    return reader.isColorTableIgnored();  
    563563  } 
    564564 
     
    573573 
    574574  /* @see IFormatReader#isNormalized() */ 
    575   public boolean isNormalized() { return readers[0].isNormalized(); } 
     575  public boolean isNormalized() { return reader.isNormalized(); } 
    576576 
    577577  /* @see IFormatReader#getUsedFiles() */ 
Note: See TracChangeset for help on using the changeset viewer.