Small improvement

This commit is contained in:
M66B 2019-12-08 14:42:14 +01:00
parent 9ba74769eb
commit 4c68973238
1 changed files with 7 additions and 0 deletions

View File

@ -64,6 +64,13 @@ public class EntityAnswer implements Serializable {
email = ((InternetAddress) address[0]).getAddress();
}
if (fullName != null) {
if (fullName.startsWith("\""))
fullName = fullName.substring(1);
if (fullName.endsWith("\""))
fullName = fullName.substring(0, fullName.length() - 1);
}
String first = fullName;
String last = null;
if (fullName != null) {