If I right click on a class and select "Operations", I get a box showing the operations (methods) of the class. If I select one of the operations and then select the Behavior tab, I can type in a description of the behavior and check "Show Behavior in Diagram", then hit "Save" and the behavior description shows up in the diagram.
If I then generate code for the class, the behavior description for that method shows up as a comment at the beginning of the method code.
So far, so good.
Now I make a change to the code, and use "Synchronize with Code" to import that change into the model.
Now if I look at the "Behavior" for that method, I see that the behavior description remains in the Behavior box, but also shows up in the "Initial Code" box as a comment. Well... OK...
BUT... when I then generate code again from the model, the behavior description shows up TWICE in the code for the method. If I import again and then generate code again, it will show up three times, etc.
How can I get it to stop duplicating the "Behavior" text in the body of the method every time I import and then generate code again? I have to go in and manually edit the code files every time if I don't want two, three, four, or five+ copies of the descriptive comment for the method.
EA version in use is 7.1.833. If 7.5.x fixes this problem please let me know and I'll upgrade, but I don't like to upgrade tools in the middle of a project unless there is a good reason.