generated from Templates/Dotnet_Library
style: fix linting errors, ref: NOISSUE
This commit is contained in:
parent
0d85132a32
commit
d5cfe494d8
@ -29,7 +29,7 @@ class StringBlock : BuildingBlockBase
|
|||||||
{
|
{
|
||||||
// Here we need to ensure we are not matching any non-string tokens, since string can match pretty much anything
|
// Here we need to ensure we are not matching any non-string tokens, since string can match pretty much anything
|
||||||
IntegerBlock intBlock = new IntegerBlock();
|
IntegerBlock intBlock = new IntegerBlock();
|
||||||
if(intBlock.CanParseWord(word))
|
if (intBlock.CanParseWord(word))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -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
|
// in order to convert rows to columns or grid we require every row to have the same length
|
||||||
int rowLength = this.rawTokens[0].Count;
|
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!");
|
throw new Exception("Attempted to convert token dataset that is not able to be converted!");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user