From 40b9aa54c5a85b16b88129dfe3cdabff92bbd020 Mon Sep 17 00:00:00 2001 From: Aaron Date: Fri, 24 Mar 2023 09:20:07 +0100 Subject: [PATCH] Version increased --- .../Network/Operations/Responses/GetMailInfosResponse.cs | 9 ++++----- src/StatisticsAnalysisTool/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/StatisticsAnalysisTool/Network/Operations/Responses/GetMailInfosResponse.cs b/src/StatisticsAnalysisTool/Network/Operations/Responses/GetMailInfosResponse.cs index 6681ed299..f33096afd 100644 --- a/src/StatisticsAnalysisTool/Network/Operations/Responses/GetMailInfosResponse.cs +++ b/src/StatisticsAnalysisTool/Network/Operations/Responses/GetMailInfosResponse.cs @@ -1,11 +1,10 @@ using log4net; using StatisticsAnalysisTool.Common; +using StatisticsAnalysisTool.Trade.Mails; using System; using System.Collections.Generic; -using System.Diagnostics; using System.Linq; using System.Reflection; -using StatisticsAnalysisTool.Trade.Mails; namespace StatisticsAnalysisTool.Network.Operations.Responses; @@ -33,16 +32,16 @@ public GetMailInfosResponse(Dictionary parameters) { return; } - + var guid = parameters[0].ObjectToGuid(); - long[] mailIdArray = {}; + long[] mailIdArray = { }; // If the mails ID's are ever below 32.767, an error will appear here, but this should not happen on the current west and east servers, since the mail ID is above it and can never come below it again. if (typeof(int[]).Name == parameters[3].GetType().Name) { mailIdArray = Array.ConvertAll((int[]) parameters[3], x => (long) x); - } + } else if (typeof(long[]).Name == parameters[3].GetType().Name) { mailIdArray = ((long[]) parameters[3]).ToArray(); diff --git a/src/StatisticsAnalysisTool/Properties/AssemblyInfo.cs b/src/StatisticsAnalysisTool/Properties/AssemblyInfo.cs index 10a16243b..dd28099f4 100644 --- a/src/StatisticsAnalysisTool/Properties/AssemblyInfo.cs +++ b/src/StatisticsAnalysisTool/Properties/AssemblyInfo.cs @@ -53,5 +53,5 @@ // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, // indem Sie "*" wie unten gezeigt eingeben: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("5.17.5.*")] -[assembly: AssemblyFileVersion("5.17.5.0")] \ No newline at end of file +[assembly: AssemblyVersion("5.18.1.*")] +[assembly: AssemblyFileVersion("5.18.1.0")] \ No newline at end of file