Changeset 5695 for branches/4.1


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

Fixed AIOOB.

File:
1 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    } 
Note: See TracChangeset for help on using the changeset viewer.