Open glassfishrobot opened 10 years ago
XJC generated code looks fine:
{code;java}
public Property(final String value, final String name, final String locale)
{ this.value = value; this.name = name; this.locale = locale; }``` but the {{ObjectFactory}} still has only this:
{code:java} /**
*/ public Property createProperty() { return new Property(); }
It would be nice if the factory would have both methods, one for empty ctor and one for arg ctor.
[current]
Reported by michael-o
Was assigned to super_glassfish
This issue was imported from java.net JIRA JAXB2_COMMONS-35
XJC generated code looks fine:
{code;java}
public Property(final String value, final String name, final String locale)
{ this.value = value; this.name = name; this.locale = locale; }``` but the {{ObjectFactory}} still has only this:
{code:java} /**
*/ public Property createProperty() { return new Property(); }
It would be nice if the factory would have both methods, one for empty ctor and one for arg ctor.
Affected Versions
[current]