From e2c12d9fb2757ff17bb8d5db85b598405393dc66 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Mon, 4 Mar 2019 10:24:30 +0400 Subject: [PATCH] fix code --- .../java/ru/ulstu/grant/model/GrantDto.java | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/src/main/java/ru/ulstu/grant/model/GrantDto.java b/src/main/java/ru/ulstu/grant/model/GrantDto.java index 0f1850a..e56896a 100644 --- a/src/main/java/ru/ulstu/grant/model/GrantDto.java +++ b/src/main/java/ru/ulstu/grant/model/GrantDto.java @@ -4,7 +4,6 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import org.hibernate.validator.constraints.NotEmpty; import ru.ulstu.deadline.model.DeadlineDto; -import ru.ulstu.grant.model.Grant; import ru.ulstu.project.model.ProjectDto; import java.util.ArrayList; @@ -56,13 +55,17 @@ public class GrantDto { return id; } - public void setId(Integer id) {this.id = id;} + public void setId(Integer id) { + this.id = id; + } public String getTitle() { return title; } - public void setTitle(String title) {this.title = title;} + public void setTitle(String title) { + this.title = title; + } public Grant.GrantStatus getStatus() { return status; @@ -84,18 +87,23 @@ public class GrantDto { return comment; } - public void setComment(String comment) {this.comment = comment;} + public void setComment(String comment) { + this.comment = comment; + } public ProjectDto getProject() { return project; } - public void setProject(ProjectDto project) {this.project = project;} + public void setProject(ProjectDto project) { + this.project = project; + } public String getApplicationFileName() { return applicationFileName; } public void setApplicationFileName(String applicationFileName) { - this.applicationFileName = applicationFileName;} + this.applicationFileName = applicationFileName; + } }