Skip to content
Snippets Groups Projects
Commit d051b7ea authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Make order of parameters match signatures of other local methods.

Refers to #28
parent eaefcddf
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment