diff --git a/TextParser/Schema/BuildingBlocks/StringBlock.cs b/TextParser/Schema/BuildingBlocks/StringBlock.cs index 881e268..e873ba8 100644 --- a/TextParser/Schema/BuildingBlocks/StringBlock.cs +++ b/TextParser/Schema/BuildingBlocks/StringBlock.cs @@ -21,7 +21,7 @@ class StringBlock : BuildingBlockBase { word = inputs.YieldWord(); } - + return this.CanParseWord(word); } @@ -29,11 +29,11 @@ class StringBlock : BuildingBlockBase { // Here we need to ensure we are not matching any non-string tokens, since string can match pretty much anything IntegerBlock intBlock = new IntegerBlock(); - if(intBlock.CanParseWord(word)) + if (intBlock.CanParseWord(word)) { return false; } - + return true; } diff --git a/TextParser/TokenConverter.cs b/TextParser/TokenConverter.cs index c24d836..6af2797 100644 --- a/TextParser/TokenConverter.cs +++ b/TextParser/TokenConverter.cs @@ -43,9 +43,9 @@ public class TokenConverter // in order to convert rows to columns or grid we require every row to have the same length int rowLength = this.rawTokens[0].Count; - foreach(var tokenRow in this.rawTokens) + foreach (var tokenRow in this.rawTokens) { - if(tokenRow.Count != rowLength) + if (tokenRow.Count != rowLength) { throw new Exception("Attempted to convert token dataset that is not able to be converted!"); }