dev@javaserverfaces.java.net

RE: Re: [REVIEW] Minor improvements to UIData

From: Jesse Alexander (KSFH 323) <"Jesse>
Date: Tue, 28 Aug 2007 19:41:19 +0200

might be... but for readability, initializing a var is always good
style...

regards
Alexander

-----Original Message-----
From: David M. Lloyd [mailto:david.lloyd_at_redhat.com]
Sent: Tuesday, August 28, 2007 7:28 PM
To: dev_at_javaserverfaces.dev.java.net
Subject: Re: [REVIEW] Minor improvements to UIData

On Tue, 28 Aug 2007 10:13:12 -0700 Ryan Lubke <Ryan.Lubke_at_Sun.COM>
wrote:

> > RL> Why, Object members will be automatically initialized to null
when
> > RL> instantiated.
> >
> > Yes, this is true in Sun's implementation of the JLS, but perhaps it
> > might not be true in another vendor's?
>
> This is a very basic requirement of the JLS, and while I don't have
> access to the JCK,

If it doesn't initialize fields to null/0/0.0/etc, it's not Java.

- DML

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net