Hi,
it is confusing. I'm guessing your code looked like this:

private Object myVar = null;

initVars() {
    myVar = new ...;
}

Then you were surprised that myVar is null because the null assignment 
happens AFTER the new statement!

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/0e000a90-c705-4b2f-992b-ce06c98d26e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to