From edc667029c4ca3227e8fe86b4c40024354919180 Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Fri, 16 Feb 2018 11:05:54 +0100 Subject: [PATCH] Rename methods loading config and status. Refers to #18 --- ATxService/AutoTx.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ATxService/AutoTx.cs b/ATxService/AutoTx.cs index 5aebbb0..6787945 100644 --- a/ATxService/AutoTx.cs +++ b/ATxService/AutoTx.cs @@ -187,8 +187,8 @@ namespace ATxService /// </summary> private void LoadSettings() { try { - LoadConfigXml(); - LoadStatusXml(); + LoadConfig(); + LoadStatus(); } catch (Exception ex) { Log.Error("LoadSettings() failed: {0}\n{1}", ex.Message, ex.StackTrace); @@ -200,9 +200,9 @@ namespace ATxService } /// <summary> - /// Load the configuration xml file. + /// Load the configuration. /// </summary> - private void LoadConfigXml() { + private void LoadConfig() { var confPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "configuration.xml"); try { @@ -222,9 +222,9 @@ namespace ATxService } /// <summary> - /// Load the status xml file. + /// Load the status. /// </summary> - private void LoadStatusXml() { + private void LoadStatus() { var statusPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "status.xml"); try { -- GitLab