Changeset 6923


Ignore:
Timestamp:
09/14/10 10:49:12 (9 years ago)
Author:
callan
Message:

Fixing infinite loop introduced by merging r6367 from Trunk. (See #560)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.1/components/bio-formats/src/loci/formats/in/MetamorphReader.java

    r6922 r6923  
    285285      while (!line.equals("\"EndFile\"")) { 
    286286        int comma = line.indexOf(","); 
    287         if (comma <= 0) continue; 
     287        if (comma <= 0) { 
     288          line = ndStream.readLine().trim(); 
     289          continue; 
     290        } 
    288291        String key = line.substring(1, comma - 1).trim(); 
    289292        String value = line.substring(comma + 1).trim(); 
Note: See TracChangeset for help on using the changeset viewer.