#59 fixed styles

merge-requests/65/head
Nightblade73 5 years ago
parent 338d7c2e09
commit a9f4a326c5

@ -18,8 +18,8 @@ import static ru.ulstu.core.util.StreamApiUtils.convert;
public class ConferenceDto { public class ConferenceDto {
String BEGINDATESTRING = "Начало: "; private final static String BEGIN_DATE = "Начало: ";
String ENDDATESTRING = "Конец: "; private final static String END_DATE = "Конец: ";
private Integer id; private Integer id;
@NotEmpty @NotEmpty
@ -215,7 +215,7 @@ public class ConferenceDto {
} }
public String getDatesString() { 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];
} }
} }

Loading…
Cancel
Save