Changeset 6290


Ignore:
Timestamp:
05/12/10 15:10:06 (10 years ago)
Author:
melissa
Message:

Fixed NPE in FileStitcher.setGroupFiles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/bio-formats/src/loci/formats/FileStitcher.java

    r6264 r6290  
    603603  public void setGroupFiles(boolean group) { 
    604604    reader.setGroupFiles(group); 
    605     for (int i=0; i<readers.length; i++) { 
    606       for (int j=0; j<readers[i].length; j++) { 
    607         readers[i][j].setGroupFiles(group); 
     605    if (readers != null) { 
     606      for (int i=0; i<readers.length; i++) { 
     607        for (int j=0; j<readers[i].length; j++) { 
     608          readers[i][j].setGroupFiles(group); 
     609        } 
    608610      } 
    609611    } 
Note: See TracChangeset for help on using the changeset viewer.