Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Author Message
shche
Post subject: UML - Generate Java - unnecessary import - java.lang.*;  PostPosted: Mar 09, 2010 - 04:08 PM
Registered Member
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
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
support-chakri
Post subject: RE: UML - Generate Java - unnecessary import - java.lang.*;  PostPosted: Apr 08, 2010 - 09:38 AM
Registered Member
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.
 
 View user's profile Send private message  
Reply with quote Back to top
shche
Post subject: RE: UML - Generate Java - unnecessary import - java.lang.*;  PostPosted: Apr 08, 2010 - 02:22 PM
Registered Member
Registered Member


Joined: Jun 21, 2005
Posts: 57

I am working with the UML1 right now...
Thanks Chakri
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
support-chakri
Post subject: RE: UML - Generate Java - unnecessary import - java.lang.*;  PostPosted: Apr 09, 2010 - 12:14 PM
Registered Member
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.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits