This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Merge Markers lost enum declared parameters | ||
---|---|---|---|
Product: | uml | Reporter: | dleon <dleon> |
Component: | Code Generation | Assignee: | Viktor Lapitski <lvv> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
dleon
2008-02-28 01:30:38 UTC
The reason isn't the merge markers itself. Generation of the new code without the markers would produce the same result. The information about parameters is absent in the model as UML RE omits the parameters because in UML literals don't have parameters. Fixed. The enum literal arguments are REed and stored in "JavaEnumLiteralArguments" tagged value of the literal. User can edit it there as well, and code generation would pick it from there. changeset: 70293:8d33a3f2698b tag: tip user: lvv@netbeans.org date: Thu Feb 28 00:47:15 2008 -0800 summary: Fix for 128649 Merge Markers lost enum declared parameters and Checking in uml/codegen/src/org/netbeans/modules/uml/codegen/resources/templates /java/DeclLib_ftl; /cvs/uml/codegen/src/org/netbeans/modules/uml/codegen/resources/templates/java/A ttic/DeclLib_ftl,v <-- DeclLib_ftl new revision: 1.7.6.5; previous revision: 1.7.6.4 done Checking in uml/core/src/org/netbeans/modules/uml/core/reverseengineering/reinte gration/UMLParsingIntegrator.java; /cvs/uml/core/src/org/netbeans/modules/uml/core/reverseengineering/reintegration /Attic/UMLParsingIntegrator.java,v <-- UMLParsingIntegrator.java new revision: 1.7.2.8; previous revision: 1.7.2.7 done Checking in uml/core/src/org/netbeans/modules/uml/core/reverseengineering/parsin gfacilities/translation/statehandlers/EnumMemberStateHandler.java; /cvs/uml/core/src/org/netbeans/modules/uml/core/reverseengineering/parsingfacili ties/translation/statehandlers/Attic/EnumMemberStateHandler.java,v <-- EnumMem berStateHandler.java new revision: 1.2.6.3; previous revision: 1.2.6.2 verified fixed in latest 6.1 M2 build. The enum parameters are no longer lost during reverse engineering and code regeneration. |