From a9f4a326c56f3459e7b4c2b53121b856a2c38056 Mon Sep 17 00:00:00 2001 From: Nightblade73 Date: Fri, 19 Apr 2019 18:38:56 +0400 Subject: [PATCH] #59 fixed styles --- src/main/java/ru/ulstu/conference/model/ConferenceDto.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/ru/ulstu/conference/model/ConferenceDto.java b/src/main/java/ru/ulstu/conference/model/ConferenceDto.java index 4ea0e2e..2e2f13b 100644 --- a/src/main/java/ru/ulstu/conference/model/ConferenceDto.java +++ b/src/main/java/ru/ulstu/conference/model/ConferenceDto.java @@ -18,8 +18,8 @@ import static ru.ulstu.core.util.StreamApiUtils.convert; public class ConferenceDto { - String BEGINDATESTRING = "Начало: "; - String ENDDATESTRING = "Конец: "; + private final static String BEGIN_DATE = "Начало: "; + private final static String END_DATE = "Конец: "; private Integer id; @NotEmpty @@ -215,7 +215,7 @@ public class ConferenceDto { } public String getDatesString() { - return BEGINDATESTRING + beginDate.toString().split(" ")[0] + " " + ENDDATESTRING + endDate.toString().split(" ")[0]; + return BEGIN_DATE + beginDate.toString().split(" ")[0] + " " + END_DATE + endDate.toString().split(" ")[0]; } }