#59 fixed styles

This commit is contained in:
Nightblade73 2019-04-19 18:38:56 +04:00
parent 338d7c2e09
commit a9f4a326c5

View File

@ -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];
}
}