Simple Getter/Setter comments

前端 未结 14 1031
悲&欢浪女
悲&欢浪女 2020-12-04 07:16

What convention do you use to comment getters and setters? This is something I\'ve wondered for quite some time, for instance:

/**
 * (1a) what do you put h         


        
14条回答
  •  伪装坚强ぢ
    2020-12-04 07:41

    If the javadoc does not add anything, I delete the javadoc and use the auto-generated comments.

提交回复
热议问题