From f7800dfb113e721ec1c5964f124ac4b3d2a246a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20B=C3=B6rchers?= Date: Fri, 18 May 2018 20:05:15 +0200 Subject: [PATCH] cleanup --- Katteker/KattekerConfig.cs | 3 +-- Katteker/ReleaseEntry.cs | 10 ++++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Katteker/KattekerConfig.cs b/Katteker/KattekerConfig.cs index f9b026c..9f86454 100644 --- a/Katteker/KattekerConfig.cs +++ b/Katteker/KattekerConfig.cs @@ -22,7 +22,6 @@ namespace Katteker [DataMember] public string Changelog { get; set; } - /// /// Read file and deserialize content. /// @@ -36,7 +35,7 @@ namespace Katteker using (var fileStream = File.OpenRead(path)) { var obj = dataContractJsonSerializer.ReadObject(fileStream); - return (KattekerConfig) obj; + return (KattekerConfig)obj; } } diff --git a/Katteker/ReleaseEntry.cs b/Katteker/ReleaseEntry.cs index 9c7f4a0..8ecdc2b 100644 --- a/Katteker/ReleaseEntry.cs +++ b/Katteker/ReleaseEntry.cs @@ -1,7 +1,7 @@ -using System; +using Semver; +using System; using System.Collections.Generic; using System.Text.RegularExpressions; -using Semver; namespace Katteker { @@ -59,26 +59,32 @@ namespace Katteker /// Version /// public SemVersion Version { get; } + /// /// Hashsum of the file. /// public string SHA1 { get; } + /// /// filename /// public string Filename { get; } + /// /// Size of the file. /// public long Filesize { get; } + /// /// Is true if the update is delta file. False otherwise. /// public bool IsDelta { get; } + /// /// Name of the application. /// public string ApplicationName { get; } + /// /// Format the release entry as line for release file. ///