From: Michael D. <mik...@us...> - 2004-09-09 21:22:38
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Collection In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11723/NHibernate/Collection Modified Files: Bag.cs Log Message: Added a TODO comment because of how poorly Bag implements IList.Add because of diff between java collections and .net collections. Index: Bag.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Collection/Bag.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Bag.cs 9 Aug 2004 03:11:45 -0000 1.5 --- Bag.cs 9 Sep 2004 21:22:14 -0000 1.6 *************** *** 298,301 **** --- 298,304 ---- else { + //TODO: take a look at this - I don't like it because it changes the + // meaning of Add - instead of returning the index it was added at + // returns a "fake" index - not consistent with IList interface... return -1; } |