Skip to content

Commit 5821f31

Browse files
committed
NH-3345 - Remove non-generic PersistentIdentifierBag
1 parent e076763 commit 5821f31

File tree

4 files changed

+420
-534
lines changed

4 files changed

+420
-534
lines changed

src/NHibernate.Test/NHSpecificTest/NH2278/CustomPersistentIdentifierBag.cs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
1-
using System;
21
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using NHibernate.Collection;
62
using NHibernate.Collection.Generic;
73
using NHibernate.Engine;
4+
using NHibernate.Persister.Collection;
85
using NUnit.Framework;
96

107
namespace NHibernate.Test.NHSpecificTest.NH2278
118
{
129
public class CustomPersistentIdentifierBag<T> : PersistentIdentifierBag<T>, ICustomList<T>
1310
{
1411
public CustomPersistentIdentifierBag(ISessionImplementor session)
15-
: base(session) { }
12+
: base(session)
13+
{
14+
}
1615

1716
public CustomPersistentIdentifierBag(ISessionImplementor session, ICollection<T> coll)
18-
: base(session, coll) { }
17+
: base(session, coll)
18+
{
19+
}
1920

20-
public override bool AfterInitialize(NHibernate.Persister.Collection.ICollectionPersister persister)
21+
public override bool AfterInitialize(ICollectionPersister persister)
2122
{
2223
Assert.That(InternalValues, Is.InstanceOf<CustomList<string>>());
2324
return base.AfterInitialize(persister);

0 commit comments

Comments
 (0)