Dear all, We are mixing two related but not the same issues. > > To avoid the mixing of copyright issue that why I thought I should have the question as a above one.
> I don't think the case you describe is necessarily related to copyright. I > think we are assuming that you have the right to do what you need to do and > it seems your question is more one of attribution. If you are copying a > class over which you have not been granted licence that is a different > issue. > > Bob, thanks for your advice! I think we should not worry about the granted licence here because the example above file as ABC.java, which is a presenting file, was created by my colleagues. And then I just copied or make a clone of it to modify the new one it as my way. I thought all of you would have a question for me is that "Why have you to do that ?" It is very simple to answer this question. Because I have a reason for explanation with follow: I did not extend the original file to inherit its properties or methods because the original file can not resolve absolutely my problem as same as the cloned one - which has been modified following my way - though they are the same of structure and meaning. * *We could understand and image like the way of somehow saying about "*The FORM was not changed but The CONTENT should have changed*". I think Lars' suggestion is absolutely the correct one. If you want to use > the class with its content absolutely unmodified then the preamble (the > @author and @version tags) should be left as it is. Otherwise extending the > class is almost always the best solution. If you feel yourself doing much > copying and pasting you should start to feel a little voice in your head > saying that you are probably doing the wrong thing. > > So, I am still not clearly understand about the *...@author* and *...@version*tags in this case. Whose name should I set to *...@author* tag is my full name or the holder's name ? And how about the *...@version* tag ?* * > Regards > Bob > > 2009/10/5 Brajesh Murari <brajesh2mur...@gmail.com> > >> >> I have just got a mall question about the issue of Copyright >>> >>> If someone created a class *ABC.java* and then I copied it to another >>> one (*MYCLASS.java*) after that modifying anything without changing the >>> structure and meaning of the original file. >>> >>> So, what should I do with in the copyright line ? >>> >>> *For example*: >>> >>> */** >>> * @author <SOMEONE NOT ME> >>> * @version $Id: ABC.java 2009-09-18 17:20:00Z hieuduy$ >>> */ >>> public abstract class MYCLASS >>> implements Action >>> {..........................} >>> * >>> >>> Is it right, Lars ? Or I *must change like this: >>> >>> /** >>> * @author Dang Duy Hieu >>> * @version $Id: ABC.java 2009-09-18 17:20:00Z someone$ >>> */ >>> public abstract class MYCLASS >>> implements Action >>> {..........................} >>> >>> >>> *Thank you so much !* >>> *-- >>> Hieu.HISPVietnam >>> Good Health ! >>> >>> >>> >> I think it will be a better solution and good design pattern approach to >> use OOPS concept ie. Inheritance, specially if we make a subclass >> MYCLASS.java of class ABC.java rather then copying every thing from to >> ABC.java to MYCLASS.java. And this way we can handle copyright issue like >> this ... >> >> /** >> * @author Dang Duy Hieu >> * @version $Id: ABC.java 2009-09-18 17:20:00Z someone$ >> */ >> public abstract class MYCLASS extends ABC >> implements Action >> {..........................} >> >> >> This is one way to solve the issue but if ABC.java is final then .....no >> body can extend class ABC.java >> >> -- >> Brajesh >> >> >> >> _______________________________________________ >> Mailing list: >> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs> >> Post to : dhis2-devs@lists.launchpad.net >> Unsubscribe : >> https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs> >> More help : https://help.launchpad.net/ListHelp >> >> > > _______________________________________________ > Mailing list: > https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs> > Post to : dhis2-devs@lists.launchpad.net > Unsubscribe : > https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs> > More help : https://help.launchpad.net/ListHelp > > *Thanks to all guys !* -- Hieu.HISPVietnam Good Health !
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp