Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/15/08 15:57:41 (17 years ago)
Author:
gkronber
Message:

fixed more bugs (not thoroughly tested but at least it works for OSGP_NOx and OSGA_TSP)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/XmlTextReaderBranch/HeuristicLab.Operators.Programmable/ProgrammableOperator.cs

    r122 r123  
    211211    public override void Populate(XmlReader reader, IDictionary<Guid, IStorable> restoredObjects) {
    212212      base.Populate(reader, restoredObjects);
    213       reader.ReadToDescendant("Description");
    214       myDescription = reader.ReadString();
    215       reader.ReadEndElement();
    216       reader.ReadToDescendant("Code");
    217       myCode = reader.ReadString();
    218       reader.ReadEndElement();
     213      myDescription = reader.ReadElementString("Description");
     214      myCode = reader.ReadElementString("Code");
    219215    }
    220216    #endregion
Note: See TracChangeset for help on using the changeset viewer.