Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 219b6272 authored by cketti's avatar cketti Committed by GitHub
Browse files

Merge pull request #2151 from philipwhiuk/AddressCleanup

Address file clean-up
parents 6cefc83d 5a51523c
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -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;
        }
@@ -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""