Resolve "Метод в rest для список опубликованных статей" #172
@ -192,7 +192,7 @@ public class User extends BaseEntity {
|
|||||||
public String getUserAbbreviate() {
|
public String getUserAbbreviate() {
|
||||||
return String.format(USER_ABBREVIATE_TEMPLATE,
|
return String.format(USER_ABBREVIATE_TEMPLATE,
|
||||||
lastName == null ? "" : lastName,
|
lastName == null ? "" : lastName,
|
||||||
firstName == null ? "" : firstName.substring(0, 1),
|
firstName == null ? "" : firstName.substring(0, 1) + ".",
|
||||||
patronymic == null ? "" : patronymic.substring(0, 1));
|
patronymic == null ? "" : patronymic.substring(0, 1) + ".");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user