Skip to content

Commit baf1031

Browse files
committed
small clean up
1 parent 238cb37 commit baf1031

File tree

9 files changed

+7
-9
lines changed

9 files changed

+7
-9
lines changed

src/NHibernate.Test/Async/NHSpecificTest/GH2043/Fixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
using NUnit.Framework;
1717
using NHibernate.Linq;
1818

19-
namespace NHibernate.Test.NHSpecificTest.IlogsProxyTest
19+
namespace NHibernate.Test.NHSpecificTest.GH2043
2020
{
2121
using System.Threading.Tasks;
2222
[TestFixture]

src/NHibernate.Test/NHSpecificTest/GH2043/EntityWithClassLookup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace NHibernate.Test.NHSpecificTest.IlogsProxyTest
3+
namespace NHibernate.Test.NHSpecificTest.GH2043
44
{
55
public class EntityWithClassLookup
66
{

src/NHibernate.Test/NHSpecificTest/GH2043/EntityWithClassProxyDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace NHibernate.Test.NHSpecificTest.IlogsProxyTest
3+
namespace NHibernate.Test.NHSpecificTest.GH2043
44
{
55
public class EntityWithClassProxyDefinition
66
{

src/NHibernate.Test/NHSpecificTest/GH2043/EntityWithInterfaceLookup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace NHibernate.Test.NHSpecificTest.IlogsProxyTest
3+
namespace NHibernate.Test.NHSpecificTest.GH2043
44
{
55
public class EntityWithInterfaceLookup
66
{

src/NHibernate.Test/NHSpecificTest/GH2043/EntityWithInterfaceProxyDefinition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace NHibernate.Test.NHSpecificTest.IlogsProxyTest
3+
namespace NHibernate.Test.NHSpecificTest.GH2043
44
{
55
public class EntityWithInterfaceProxyDefinition: IEntityProxy
66
{

src/NHibernate.Test/NHSpecificTest/GH2043/Fixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using NHibernate.Mapping.ByCode;
66
using NUnit.Framework;
77

8-
namespace NHibernate.Test.NHSpecificTest.IlogsProxyTest
8+
namespace NHibernate.Test.NHSpecificTest.GH2043
99
{
1010
[TestFixture]
1111
public class Fixture : TestCaseMappingByCode

src/NHibernate.Test/NHSpecificTest/GH2043/IEntityProxy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace NHibernate.Test.NHSpecificTest.IlogsProxyTest
3+
namespace NHibernate.Test.NHSpecificTest.GH2043
44
{
55
public interface IEntityProxy
66
{

src/NHibernate/Async/Engine/ForeignKeys.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ public static async Task<bool> IsNotTransientSlowAsync(string entityName, object
187187
}
188188

189189
// let the interceptor inspect the instance to decide
190-
191190
if (session.Interceptor.IsTransient(entity) == true)
192191
return Task.FromResult<bool?>(true);
193192

src/NHibernate/Engine/ForeignKeys.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ public static bool IsNotTransientSlow(string entityName, object entity, ISession
179179
}
180180

181181
// let the interceptor inspect the instance to decide
182-
183182
if (session.Interceptor.IsTransient(entity) == true)
184183
return true;
185184

0 commit comments

Comments
 (0)