Changeset 5695


Ignore:
Timestamp:
11/16/09 12:55:34 (10 years ago)
Author:
melissa
Message:

Fixed AIOOB.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.1/components/bio-formats/src/loci/formats/DimensionSwapper.java

    r5615 r5695  
    266266    String oldFile = getCurrentFile(); 
    267267    super.setId(id); 
    268     if (!id.equals(oldFile) || outputOrder == null) { 
     268    if (!id.equals(oldFile) || outputOrder == null || 
     269      outputOrder.length != getSeriesCount()) 
     270    { 
    269271      outputOrder = new String[getSeriesCount()]; 
    270272    } 
  • trunk/components/bio-formats/src/loci/formats/DimensionSwapper.java

    r5590 r5695  
    266266    String oldFile = getCurrentFile(); 
    267267    super.setId(id); 
    268     if (!id.equals(oldFile) || outputOrder == null) { 
     268    if (!id.equals(oldFile) || outputOrder == null || 
     269      outputOrder.length != getSeriesCount()) 
     270    { 
    269271      outputOrder = new String[getSeriesCount()]; 
    270272    } 
Note: See TracChangeset for help on using the changeset viewer.