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

Commit faaf2fe7 authored by Chalard Jean's avatar Chalard Jean
Browse files

Bugfixes in LinkProperties#toString

We should stop trying to use a human brain to write code

Test: manual
Change-Id: Ifd7d73ad65de0f671466080beacbd97287e17bfe
parent 4d660114
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -774,7 +774,7 @@ public final class LinkProperties implements Parcelable {
        String usePrivateDns = "UsePrivateDns: " + mUsePrivateDns + " ";

        String privateDnsServerName = "";
        if (privateDnsServerName != null) {
        if (mPrivateDnsServerName != null) {
            privateDnsServerName = "PrivateDnsServerName: " + mPrivateDnsServerName + " ";
        }

@@ -810,7 +810,7 @@ public final class LinkProperties implements Parcelable {
            stacked += "] ";
        }
        return "{" + ifaceName + linkAddresses + routes + dns + usePrivateDns
            + privateDnsServerName + domainName + mtu + tcpBuffSizes + proxy
            + privateDnsServerName + validatedPrivateDns + domainName + mtu + tcpBuffSizes + proxy
            + stacked + "}";
    }