|
|
|
@ -75,12 +75,16 @@ public class EntityAnswer implements Serializable {
|
|
|
|
if (name != null) {
|
|
|
|
if (name != null) {
|
|
|
|
name = name.trim();
|
|
|
|
name = name.trim();
|
|
|
|
int c = name.lastIndexOf(",");
|
|
|
|
int c = name.lastIndexOf(",");
|
|
|
|
|
|
|
|
if (c < 0) {
|
|
|
|
|
|
|
|
c = name.lastIndexOf(" ");
|
|
|
|
if (c < 0) {
|
|
|
|
if (c < 0) {
|
|
|
|
first = name;
|
|
|
|
first = name;
|
|
|
|
last = name;
|
|
|
|
last = name;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
first = name.substring(c + 1).trim();
|
|
|
|
first = name.substring(0, c).trim();
|
|
|
|
last = name.substring(0, c).trim();
|
|
|
|
last = name.substring(c + 1).trim();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} else {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|