Changeset 6092


Ignore:
Timestamp:
04/06/10 02:50:47 (10 years ago)
Author:
callan
Message:

Removed an unused import and fixed a potential null pointer exception as seen on the metadata validator build 1065.

File:
1 edited

Legend:

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

    r6079 r6092  
    3030import java.util.Arrays; 
    3131import java.util.Hashtable; 
    32 import java.util.StringTokenizer; 
    3332import java.util.Vector; 
    3433 
     
    478477      while (channel != null) { 
    479478        String illumination = channel.get("LightType"); 
    480         if (illumination.indexOf("fluorescence") != -1) { 
     479        if (illumination == null) { 
     480          // Ignored 
     481        } 
     482        else if (illumination.indexOf("fluorescence") != -1) { 
    481483          illumination = "Epifluorescence"; 
    482484        } 
Note: See TracChangeset for help on using the changeset viewer.