From: Kevin W. <kev...@us...> - 2005-01-06 14:32:35
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/UtilityTest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15716 Modified Files: IdentityMapFixture.cs SequencedHashMapFixture.cs Log Message: fix compiler warning Index: IdentityMapFixture.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/UtilityTest/IdentityMapFixture.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** IdentityMapFixture.cs 9 Aug 2004 03:12:37 -0000 1.7 --- IdentityMapFixture.cs 6 Jan 2005 14:32:26 -0000 1.8 *************** *** 106,112 **** ICollection concurrent = IdentityMap.ConcurrentEntries(map); - int i = 0; ! foreach(DictionaryEntry de in concurrent) { if(i==0) map.Add(noHashCode3, value3); --- 106,111 ---- ICollection concurrent = IdentityMap.ConcurrentEntries(map); ! for( int i = 0; i < concurrent.Count; ) { if(i==0) map.Add(noHashCode3, value3); Index: SequencedHashMapFixture.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/UtilityTest/SequencedHashMapFixture.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** SequencedHashMapFixture.cs 27 Sep 2004 01:50:05 -0000 1.3 --- SequencedHashMapFixture.cs 6 Jan 2005 14:32:26 -0000 1.4 *************** *** 107,111 **** bool noEntries = true; ! foreach( DictionaryEntry de in _emptyShm ) { noEntries = false; --- 107,111 ---- bool noEntries = true; ! for( int i = 0; i < _emptyShm.Count; i++ ) { noEntries = false; *************** *** 247,251 **** bool noValues = true; ! foreach( object obj in _emptyShm.Values ) { noValues = false; --- 247,251 ---- bool noValues = true; ! for( int i = 0; i < _emptyShm.Values.Count; i++ ) { noValues = false; |