facebook

UML – Generate Java – unnecessary import – java.lang.*;

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #306661 Reply

    Leonid Shchervinsky
    Participant

    Hi:

    Java code generator from UML adds imports from java.lang.*;

    import java.lang.String;

    Such import is not nessasary…

    Thanks
    Leonid

    #307454 Reply

    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.

    #307470 Reply

    Leonid Shchervinsky
    Participant

    I am working with the UML1 right now…
    Thanks Chakri

    #307515 Reply

    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.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: UML – Generate Java – unnecessary import – java.lang.*;

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in