Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/05/19 14:56:37 (5 years ago)
Author:
abeham
Message:

#2520:

  • fixed loading of samples, removed TODO (due to upgrade of Attic 1.2)
  • corrected check when old persistence should be used to retry download from hive
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Optimizer/3.3/StartPage.cs

    r17022 r17087  
    2323using System.Collections.Generic;
    2424using System.IO;
    25 using System.IO.Compression;
    2625using System.Linq;
    2726using System.Reflection;
     
    120119      using (var stream = assembly.GetManifestResourceStream(name)) {
    121120        var serializer = new ProtoBufSerializer();
    122         // TODO remove deflateStream with next release of HEAL.Attic
    123         using (var deflateStream = new DeflateStream(stream, CompressionMode.Decompress, true)) {
    124           var item = (NamedItem)serializer.Deserialize(deflateStream, false);
    125           OnSampleLoaded(item, group, 1.0 / count);
    126         }
     121        var item = (NamedItem)serializer.Deserialize(stream, false);
     122        OnSampleLoaded(item, group, 1.0 / count);
    127123      }
    128124    }
Note: See TracChangeset for help on using the changeset viewer.