Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/29/10 13:53:31 (15 years ago)
Author:
epitzer
Message:

reset ZipEntry data to make binary objects comparable (#548)

Location:
trunk/sources/HeuristicLab.Persistence/3.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Persistence/3.3/Core/GeneratorBase.cs

    r1623 r2718  
    77using ICSharpCode.SharpZipLib.Zip;
    88using HeuristicLab.Tracing;
    9 using log4net;
    109using HeuristicLab.Persistence.Core.Tokens;
    1110
  • trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/XmlGenerator.cs

    r2037 r2718  
    77using ICSharpCode.SharpZipLib.Zip;
    88using HeuristicLab.Tracing;
    9 using log4net;
    109using HeuristicLab.Persistence.Core.Tokens;
    1110
     
    201200          zipStream.IsStreamOwner = false;
    202201          zipStream.SetLevel(compression);
    203           zipStream.PutNextEntry(new ZipEntry("data.xml"));
     202          zipStream.PutNextEntry(new ZipEntry("data.xml") { DateTime = DateTime.MinValue });
    204203          StreamWriter writer = new StreamWriter(zipStream);
    205204          foreach (ISerializationToken token in serializer) {
     
    208207          }
    209208          writer.Flush();
    210           zipStream.PutNextEntry(new ZipEntry("typecache.xml"));
     209          zipStream.PutNextEntry(new ZipEntry("typecache.xml") { DateTime = DateTime.MinValue });
    211210          foreach (string line in generator.Format(serializer.TypeCache)) {
    212211            writer.Write(line);
  • trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/XmlStringConstants.cs

    r1712 r2718  
    77using ICSharpCode.SharpZipLib.Zip;
    88using HeuristicLab.Tracing;
    9 using log4net;
    109using HeuristicLab.Persistence.Core.Tokens;
    1110
Note: See TracChangeset for help on using the changeset viewer.