Changeset 711


Ignore:
Timestamp:
May 29, 2008, 5:51:58 PM (13 years ago)
Author:
Jari Häkkinen
Message:

Fixes BASEfile serial spot section issue: The reader did not get passed the first spot section. Error was probably introduced in changeset:247

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/base1/se.lu.onk/trunk/BaseFile/src/basefile/BASEFileReader.java

    r664 r711  
    137137    throws BASEFileException, IOException
    138138  {
     139    section = readSection(false);
    139140    while (section != null && !section.isType("spots"))
    140141    {
    141142      section = readSection(false);
    142143    }
    143     return new BASEFileSpotSection<R, S>(section);
     144    return (section == null) ? null : new BASEFileSpotSection<R, S>(section);
    144145  }
    145146 
    146147  /**
    147    * TODO: Write javadoc for readSpotSection()
     148   * TODO: Write javadoc for readAssaySection()
    148149   * @param <R>
    149150   * @param <S>
Note: See TracChangeset for help on using the changeset viewer.