Changeset 2215


Ignore:
Timestamp:
02/05/07 10:57:33 (13 years ago)
Author:
curtis
Message:

Fix NullPointerException in LeicaReader.isThisType.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/in/LeicaReader.java

    r2196 r2215  
    613613 
    614614      String descr = (String) ifd.get(new Integer(TiffTools.IMAGE_DESCRIPTION)); 
    615       int ndx = descr.indexOf("Series Name"); 
     615      int ndx = descr == null ? -1 : descr.indexOf("Series Name"); 
    616616 
    617617      if (ndx == -1) return false; 
Note: See TracChangeset for help on using the changeset viewer.