Loading k9mail-library/src/main/java/com/fsck/k9/mail/Address.java +7 −5 Original line number Diff line number Diff line Loading @@ -95,7 +95,8 @@ public class Address implements Serializable { return mPersonal; } public void setPersonal(String personal) { public void setPersonal(String newPersonal) { String personal = newPersonal; if ("".equals(personal)) { personal = null; } Loading Loading @@ -309,8 +310,9 @@ public class Address implements Serializable { } /** * Ensures that the given string starts and ends with the double quote character. The string is not modified in any way except to add the * double quote character to start and end if it's not already there. * Ensures that the given string starts and ends with the double quote character. * The string is not modified in any way except to add the double quote character to start * and end if it's not already there. * sample -> "sample" * "sample" -> "sample" * ""sample"" -> ""sample"" Loading Loading
k9mail-library/src/main/java/com/fsck/k9/mail/Address.java +7 −5 Original line number Diff line number Diff line Loading @@ -95,7 +95,8 @@ public class Address implements Serializable { return mPersonal; } public void setPersonal(String personal) { public void setPersonal(String newPersonal) { String personal = newPersonal; if ("".equals(personal)) { personal = null; } Loading Loading @@ -309,8 +310,9 @@ public class Address implements Serializable { } /** * Ensures that the given string starts and ends with the double quote character. The string is not modified in any way except to add the * double quote character to start and end if it's not already there. * Ensures that the given string starts and ends with the double quote character. * The string is not modified in any way except to add the double quote character to start * and end if it's not already there. * sample -> "sample" * "sample" -> "sample" * ""sample"" -> ""sample"" Loading