Closed Johann-Angeli closed 7 years ago
Hi,
I can't reproduce your problem with the UML Designer 7.1.0.
Can you provide us a test case to reproduce the problem please ?
Hi,
I created a new workspace dedicated to this problem (see attached file).
The workspace contains :
a simple model with a class diagram including 2 classes.
a java project regenerated by UML2 to JAVA
the UML2 to JAVA configuration used for the Java code generation
I use UML2 to Java (version 3.0.0.) for generating my JAVA classes.
In case of fields representing a list of items, the generated code doesn't contains import for the targeted type (HashSet) and the code doesn't compile.
I'm oblige to manually add "import java.util.HashSet;"
Environment