 |
|
 |
 |
|
 |
 |
| Author |
Message |
|
|
Post subject: UML - Generate Java - unnecessary import - java.lang.*;
Posted: Mar 09, 2010 - 04:08 PM
|
|
Registered Member


Joined: Jun 21, 2005
Posts: 57
|
|
Hi:
Java code generator from UML adds imports from java.lang.*;
import java.lang.String;
Such import is not nessasary...
Thanks
Leonid |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: UML - Generate Java - unnecessary import - java.lang.*;
Posted: Apr 08, 2010 - 09:38 AM
|
|
Registered Member


Joined: Apr 05, 2010
Posts: 68
|
|
Hi Leonid,
I could not replicate the issue at my end. I did a test in ME 8.0 and 8.5. What exactly are you trying to do?
I have created a web project of J2EE level 5. Created an UML2 class diagram and added a class to it. Then added a property to the class and generated java class. It did well without java.lang.*
Thanks,
Chakri. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: UML - Generate Java - unnecessary import - java.lang.*;
Posted: Apr 08, 2010 - 02:22 PM
|
|
Registered Member


Joined: Jun 21, 2005
Posts: 57
|
|
I am working with the UML1 right now...
Thanks Chakri |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: UML - Generate Java - unnecessary import - java.lang.*;
Posted: Apr 09, 2010 - 12:14 PM
|
|
Registered Member


Joined: Apr 05, 2010
Posts: 68
|
|
Hi shche,
I'll take this issue to the dev team and add it in the feature list so that it will be a future change. It will not get in UML2, it only happens in UML1. Thanks for bring it up.
Thanks,
Chakri. |
|
|
| |
|
|
|
 |
|
|
| |
|
|
 |
|
 |
|
|
|
 |