Skip to content

Commit 6adeee0

Browse files
committed
Make CodeFactor happy
1 parent 63ac31b commit 6adeee0

File tree

5 files changed

+4
-7
lines changed

5 files changed

+4
-7
lines changed

src/NHibernate.Test/Async/NHSpecificTest/GH2201/CircularReferenceFetchFixture.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
namespace NHibernate.Test.NHSpecificTest.GH2201
1616
{
1717
using System.Threading.Tasks;
18-
1918
[TestFixture]
2019
public class CircularReferenceFetchFixtureAsync : BaseFetchFixture
2120
{

src/NHibernate.Test/Async/NHSpecificTest/GH2201/DetectFetchLoopsFalseFixture.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected override void OnSetUp()
4545
{
4646
var name = names[i];
4747

48-
Person parent = new Person()
48+
var parent = new Person()
4949
{
5050
Name = name,
5151
Details = new Detail()
@@ -56,7 +56,7 @@ protected override void OnSetUp()
5656

5757
for (int j = 1; j <= 3; j++)
5858
{
59-
Person child = new Person()
59+
var child = new Person()
6060
{
6161
Name = $"Child ${j} of ${parent.Name}",
6262
Parent = parent,

src/NHibernate.Test/NHSpecificTest/GH2201/BaseFetchFixture.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ protected void Verify(Entity result)
129129
VerifyChildrenNotInitialized(result.AdditionalEntity);
130130
VerifyChildrenNotInitialized(result.SourceEntity);
131131
VerifyChildrenNotInitialized(result.ReferencedEntity);
132-
133132
}
134133

135134
protected void VerifyChildrenInitialized(Entity result)

src/NHibernate.Test/NHSpecificTest/GH2201/CircularReferenceFetchFixture.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace NHibernate.Test.NHSpecificTest.GH2201
66
{
7-
87
[TestFixture]
98
public class CircularReferenceFetchFixture : BaseFetchFixture
109
{

src/NHibernate.Test/NHSpecificTest/GH2201/DetectFetchLoopsFalseFixture.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ protected override void OnSetUp()
3434
{
3535
var name = names[i];
3636

37-
Person parent = new Person()
37+
var parent = new Person()
3838
{
3939
Name = name,
4040
Details = new Detail()
@@ -45,7 +45,7 @@ protected override void OnSetUp()
4545

4646
for (int j = 1; j <= 3; j++)
4747
{
48-
Person child = new Person()
48+
var child = new Person()
4949
{
5050
Name = $"Child ${j} of ${parent.Name}",
5151
Parent = parent,

0 commit comments

Comments
 (0)