From 05e891cec11e7afa6d2d7230113ffcf5a948815b Mon Sep 17 00:00:00 2001 From: Aditya Ketkar <ketkaraditya615@gmail.com> Date: Sun, 29 Oct 2017 19:02:39 +0530 Subject: [PATCH] Removed redundant javadoc comments --- .../samples/petclinic/visit/Visit.java | 45 +++---------------- 1 file changed, 6 insertions(+), 39 deletions(-) diff --git a/src/main/java/org/springframework/samples/petclinic/visit/Visit.java b/src/main/java/org/springframework/samples/petclinic/visit/Visit.java index 25e7cc5..251d027 100755 --- a/src/main/java/org/springframework/samples/petclinic/visit/Visit.java +++ b/src/main/java/org/springframework/samples/petclinic/visit/Visit.java @@ -37,24 +37,16 @@ import org.springframework.samples.petclinic.model.BaseEntity; @Table(name = "visits") public class Visit extends BaseEntity { - /** - * Holds value of property date. - */ @Column(name = "visit_date") @Temporal(TemporalType.TIMESTAMP) @DateTimeFormat(pattern = "yyyy/MM/dd") private Date date; - /** - * Holds value of property description. - */ @NotEmpty @Column(name = "description") private String description; - /** - * Holds value of property pet. - */ + @Column(name = "pet_id") private Integer petId; @@ -67,56 +59,31 @@ public class Visit extends BaseEntity { } - /** - * Getter for property date. - * - * @return Value of property date. - */ public Date getDate() { return this.date; } - /** - * Setter for property date. - * - * @param date New value of property date. - */ + public void setDate(Date date) { this.date = date; } - /** - * Getter for property description. - * - * @return Value of property description. - */ + public String getDescription() { return this.description; } - /** - * Setter for property description. - * - * @param description New value of property description. - */ + public void setDescription(String description) { this.description = description; } - /** - * Getter for property pet id. - * - * @return Value of property pet id. - */ + public Integer getPetId() { return this.petId; } - /** - * Setter for property pet id. - * - * @param petId New value of property pet id. - */ + public void setPetId(Integer petId) { this.petId = petId; } -- GitLab