Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/15/08 14:17:26 (17 years ago)
Author:
gkronber
Message:

bug fixes to make loading of OSGA-TSP work. Some non-working code remains

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/XmlTextReaderBranch/HeuristicLab.Operators/CombinedOperator.cs

    r121 r122  
    104104    public override void Populate(XmlReader reader, IDictionary<Guid, IStorable> restoredObjects) {
    105105      base.Populate(reader, restoredObjects);
    106       if(reader.IsStartElement() && reader.Name == "Description") {
    107         reader.ReadStartElement("Description");
    108         myDescription = reader.ReadString();
    109         reader.ReadEndElement();
    110       }
     106      myDescription = reader.ReadElementString("Description");
    111107      myOperatorGraph = (IOperatorGraph)PersistenceManager.Restore(reader, "OperatorGraph", restoredObjects);
    112108    }
Note: See TracChangeset for help on using the changeset viewer.