From d051b7eaef4ebcc92bca4e3c3c1ac245fea124ec Mon Sep 17 00:00:00 2001
From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch>
Date: Thu, 15 Feb 2018 15:52:24 +0100
Subject: [PATCH] Make order of parameters match signatures of other local
 methods.

Refers to #28
---
 ATxCommon/Serializables/ServiceConfig.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ATxCommon/Serializables/ServiceConfig.cs b/ATxCommon/Serializables/ServiceConfig.cs
index 919697d..f021d69 100644
--- a/ATxCommon/Serializables/ServiceConfig.cs
+++ b/ATxCommon/Serializables/ServiceConfig.cs
@@ -315,7 +315,7 @@ namespace ATxCommon.Serializables
                 return string.Empty;
             }
 
-            void SubOptimal(string name, string value, string msg) {
+            void SubOptimal(string value, string name, string msg) {
                 Log.Warn(">>> Sub-optimal setting detected: <{0}> [{1}] {2}", name, value, msg);
             }
 
@@ -384,7 +384,7 @@ namespace ATxCommon.Serializables
             // those checks are non-critical and are simply reported to the logs
 
             if (!c.DestinationDirectory.StartsWith(@"\\"))
-                SubOptimal("DestinationDirectory", c.DestinationDirectory, "is not a UNC path!");
+                SubOptimal(c.DestinationDirectory, "DestinationDirectory", "is not a UNC path!");
 
 
             if (string.IsNullOrWhiteSpace(errmsg))
-- 
GitLab