Sorry for the confusion.  This is inside the turbine source (e.g. torque to
name one). Not my own stuff.

I guess it's a matter of philosophy.  I can see you point. 
I would think that a value not defined in a properties file shouldn't
cause a run time exception unless the property is critical.  

If this is the mode that the code is developed under, that's fine. I 
just wanted to bring it to someone's attention.

thanks

mike









On Tue, Oct 31, 2000 at 06:13:48AM -0800, Daniel L. Rall wrote:
> Mike Haberman wrote:
> > 
> > >
> > > Mike, most references to properties file values are or should be wrapped
> > > in a method that allows a default to be supplied.
> > > --
> > >
> > 
> > I agree, but in several cases, they are not.  So you end up with a lot
> > of NPE at run time.
> 
> Only with a misconfigured properties file.  Are you wrapping them in the
> calls which supply defaults?
> -- 
> 
> Daniel Rall <[EMAIL PROTECTED]>
> 
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to