Code review

This commit is contained in:
JustArchi
2016-04-12 19:12:45 +02:00
parent e9d8f271a2
commit 4a36345635
16 changed files with 68 additions and 24 deletions

View File

@@ -170,7 +170,10 @@ namespace ConfigGenerator {
private GlobalConfig() { }
private GlobalConfig(string filePath) : base(filePath) {
FilePath = filePath;
if (string.IsNullOrEmpty(filePath)) {
throw new ArgumentNullException("filePath");
}
Blacklist.AddRange(GlobalBlacklist);
Save();
}