Skip to content

Commit cf2504b

Browse files
Trim trailing whitespace
1 parent cae559c commit cf2504b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Engine/Settings.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ private List<string> ParseSettingValueStringOrStrings(object value, string setti
266266
{
267267
value = new[] { value };
268268
}
269-
269+
270270
if (!(value is ICollection))
271271
{
272272
exceptions.Add(new InvalidDataException(string.Format(
@@ -282,7 +282,7 @@ private List<string> ParseSettingValueStringOrStrings(object value, string setti
282282
foreach (var element in values)
283283
{
284284
currentElementIndex = elementIndex++;
285-
285+
286286
if (element is null)
287287
{
288288
exceptions.Add(new InvalidDataException(string.Format(
@@ -317,7 +317,7 @@ private List<string> ParseSettingValueStringOrStrings(object value, string setti
317317
settingName)));
318318
return null;
319319
}
320-
320+
321321
if (!(value is bool))
322322
{
323323
exceptions.Add(new InvalidDataException(string.Format(
@@ -333,7 +333,7 @@ private List<string> ParseSettingValueStringOrStrings(object value, string setti
333333
private void ParseSettingsHashtable(Hashtable settings)
334334
{
335335
IList<Exception> exceptions = new List<Exception>();
336-
336+
337337
ISet<string> uniqueSettingKeys = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
338338
foreach (DictionaryEntry setting in settings)
339339
{
@@ -343,7 +343,7 @@ private void ParseSettingsHashtable(Hashtable settings)
343343
Strings.SettingKeyIsNull));
344344
continue;
345345
}
346-
346+
347347
if (!(setting.Key is string))
348348
{
349349
exceptions.Add(new InvalidDataException(string.Format(
@@ -429,7 +429,7 @@ private void ParseSettingsHashtable(Hashtable settings)
429429
{
430430
continue;
431431
}
432-
432+
433433
this.recurseCustomRulePath = (bool) maybeRecurseCustomRulePath;
434434
break;
435435

@@ -511,7 +511,7 @@ private void ParseSettingsHashtable(Hashtable settings)
511511
continue;
512512
}
513513
string argumentName = argument.Key as string;
514-
514+
515515
if (!uniqueArgumentKeys.Add(argumentName))
516516
{
517517
// argument.Key should be used instead of argumentName because the former preserves information about the source casing.
@@ -521,7 +521,7 @@ private void ParseSettingsHashtable(Hashtable settings)
521521
argument.Key)));
522522
continue;
523523
}
524-
524+
525525
if (argument.Value is null)
526526
{
527527
exceptions.Add(new InvalidDataException(string.Format(

0 commit comments

Comments
 (0)