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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passing in an empty String as a constructor arg value for a bean where the underlying property is an