aspose file tools*
The moose likes Spring and the fly likes Passing in an empty String as a constructor arg value for a bean where the underlying property is an Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Passing in an empty String as a constructor arg value for a bean where the underlying property is an" Watch "Passing in an empty String as a constructor arg value for a bean where the underlying property is an" New topic
Author

Passing in an empty String as a constructor arg value for a bean where the underlying property is an

Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Hi all,

I've got a bean, e.g.



Where the corresponding class:



and the ExternalExceptionDefinition class is an enum:



Does anyone know what the behaviour should be? We don't get any errors which surprises me.


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Apparently it's null
 
jQuery in Action, 2nd edition
 
subject: Passing in an empty String as a constructor arg value for a bean where the underlying property is an