Javadoc @author tag good practices

后端 未结 7 659
天命终不由人
天命终不由人 2020-12-02 20:18

I\'m wondering about best practices when creating Javadocs. I have a project with many files. Code has been created by many developers. Each file has an annotation @au

7条回答
  •  攒了一身酷
    2020-12-02 20:39

    You can have more than one @author tag. In case you make some big changes to a class, just add a new @author tag with your own name in it. There's no need to mark the changes you've done or to put your name around the changes, as the revision history should be able to display that clearly.

提交回复
热议问题