Changeset 1912


Ignore:
Timestamp:
12/08/06 11:55:17 (13 years ago)
Author:
curtis
Message:

Tiny tweak to getSuffix.

File:
1 edited

Legend:

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

    r1905 r1912  
    262262  /** Gets the pattern's text string after all numerical ranges. */ 
    263263  public String getSuffix() { 
    264     return pattern.substring(endIndex.length > 0 ? endIndex[endIndex.length - 1] : 0); 
     264    return endIndex.length > 0 ? 
     265      pattern.substring(endIndex[endIndex.length - 1]) : pattern; 
    265266  } 
    266267 
Note: See TracChangeset for help on using the changeset viewer.