From: Michael D. <mik...@us...> - 2005-02-14 03:38:54
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Type In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19711/NHibernate/Type Modified Files: BooleanType.cs ComponentType.cs Log Message: changed private static readonly to private const since don't need to worry about those getting compiled into other code. Modified InstantiationException ctor. Index: BooleanType.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/BooleanType.cs,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** BooleanType.cs 31 Dec 2004 23:51:19 -0000 1.11 --- BooleanType.cs 14 Feb 2005 03:38:45 -0000 1.12 *************** *** 11,16 **** public class BooleanType : ValueTypeType, IDiscriminatorType { ! private static readonly string TRUE = "1"; ! private static readonly string FALSE = "0"; /// <summary> --- 11,16 ---- public class BooleanType : ValueTypeType, IDiscriminatorType { ! private const string TRUE = "1"; ! private const string FALSE = "0"; /// <summary> Index: ComponentType.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/ComponentType.cs,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** ComponentType.cs 31 Dec 2004 23:51:32 -0000 1.11 --- ComponentType.cs 14 Feb 2005 03:38:45 -0000 1.12 *************** *** 408,412 **** catch( Exception e ) { ! throw new InstantiationException( "Could not instantiate component: ", componentClass, e ); } } --- 408,412 ---- catch( Exception e ) { ! throw new InstantiationException( "Could not instantiate component: ", e, componentClass ); } } *************** *** 431,435 **** catch( Exception e ) { ! throw new InstantiationException( "Could not set component parent for: ", componentClass, e ); } } --- 431,435 ---- catch( Exception e ) { ! throw new InstantiationException( "Could not set component parent for: ", e, componentClass ); } } |