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

Whitespace for better readability.

parent 43ad3ea1
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,7 @@ namespace ATxCommon
catch (Exception ex) {
Log.Warn("Error in GetFreeMemory: {0}", ex.Message);
}
return -1;
}
......@@ -49,6 +50,7 @@ namespace ATxCommon
catch (Exception ex) {
Log.Warn("Error in GetCpuUsage: {0}", ex.Message);
}
return -1;
}
......@@ -65,6 +67,7 @@ namespace ATxCommon
catch (Exception ex) {
Log.Warn("Error in GetFreeDriveSpace({0}): {1}", drive, ex.Message);
}
return 0;
}
......@@ -83,6 +86,7 @@ namespace ATxCommon
"' - free space: " + Conv.BytesToString(freeSpace) +
" (threshold: " + Conv.BytesToString(driveToCheck.SpaceThreshold) + ")\n";
}
return msg;
}
......@@ -103,6 +107,7 @@ namespace ATxCommon
Log.Warn("Error in checkProcesses(): {0}", ex.Message);
}
}
return "";
}
......@@ -123,6 +128,7 @@ namespace ATxCommon
catch (Exception ex) {
Log.Error("Error in getCurrentUsername(): {0}", ex.Message);
}
return username == "";
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment