Skip to content

Commit 9828f23

Browse files
committed
whitespaces
1 parent 38f7d59 commit 9828f23

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

src/NHibernate/Hql/Ast/ANTLR/AstPolymorphicProcessor.cs

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Collections.Generic;
2-
using System.Linq;
32
using NHibernate.Engine;
43
using NHibernate.Hql.Ast.ANTLR.Tree;
54
using NHibernate.Util;
@@ -35,16 +34,16 @@ private IASTNode[] Process()
3534

3635
var parsers = DuplicateTree();
3736

38-
if (parsers.Length == 0)
39-
{
40-
var entityNames = _nodeMapping.Keys.ToArray(x => PolymorphicQuerySourceDetector.GetClassName(x));
41-
throw new QuerySyntaxException(
42-
entityNames.Length == 1
43-
? entityNames[0] + " is not mapped"
44-
: string.Join(", ", entityNames) + " are not mapped");
45-
}
37+
if (parsers.Length == 0)
38+
{
39+
var entityNames = _nodeMapping.Keys.ToArray(x => PolymorphicQuerySourceDetector.GetClassName(x));
40+
throw new QuerySyntaxException(
41+
entityNames.Length == 1
42+
? entityNames[0] + " is not mapped"
43+
: string.Join(", ", entityNames) + " are not mapped");
44+
}
4645

47-
return parsers;
46+
return parsers;
4847
}
4948

5049
private IASTNode[] DuplicateTree()

0 commit comments

Comments
 (0)