Issue Type: Improvement Improvement
Assignee: Unassigned
Components: CodeGen
Created: 23/Apr/13 4:47 AM
Description:

The classes generated by codegen always initialize all their collections. This ticket proposes to add another parameter to the ListImplementationDecorator, which should disable the default initializer in the StructureClassHolder.

The reason for this change are:

  • reduce the number of objects on heap (some of my objects define 10 collections, but only one is used at a time)
  • make my objects behave the same, no matter if they were parsed from an XML or if they were created using the new-operator. (my unittests fail do see possible NPEs, because I create them using new)
Project: JiBX
Priority: Minor Minor
Reporter: Christian Spriegel
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to