Changeset 1999


Ignore:
Timestamp:
01/03/07 10:53:42 (13 years ago)
Author:
chris
Message:

PrairieReader:
1) reverted code around line 214 back to what it was because
now I'm getting null pointer exceptions later on and I don't
really want to get into this xml parsing since I didn't write
it in the first place.

File:
1 edited

Legend:

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

    r1998 r1999  
    212212      while (s.length() > 0) { 
    213213        int ndx = s.indexOf("<"); 
    214         if(ndx != -1) { 
    215           String sub = s.substring(ndx + 1, s.indexOf(">", ndx)); 
    216           s = s.substring(s.indexOf(">", ndx) + 1); 
    217           elements.add(sub); 
    218         } 
    219         else break; 
     214        String sub = s.substring(ndx + 1, s.indexOf(">", ndx)); 
     215        s = s.substring(s.indexOf(">", ndx) + 1); 
     216        elements.add(sub); 
    220217      } 
    221218 
Note: See TracChangeset for help on using the changeset viewer.