diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-07-13 04:06:55 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-07-13 04:06:55 +0200 |
commit | fec5fa8caf67dc5da7a7d703f2ca879e7d1174fd (patch) | |
tree | 15f05c8de269d0413d4334667616ab0dc3797910 /app/src/main/java/com/wireguard | |
parent | 6f48e138a43a445d3ccfcbd1966802a554c04b0a (diff) |
config: make loadData private
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/java/com/wireguard')
-rw-r--r-- | app/src/main/java/com/wireguard/config/Interface.java | 2 | ||||
-rw-r--r-- | app/src/main/java/com/wireguard/config/Peer.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/com/wireguard/config/Interface.java b/app/src/main/java/com/wireguard/config/Interface.java index 99336ae4..6560b764 100644 --- a/app/src/main/java/com/wireguard/config/Interface.java +++ b/app/src/main/java/com/wireguard/config/Interface.java @@ -331,7 +331,7 @@ public class Interface { return publicKey; } - protected void loadData(final Interface parent) { + private void loadData(final Interface parent) { addresses = parent.getAddressString(); dnses = parent.getDnsString(); excludedApplications = parent.getExcludedApplicationsString(); diff --git a/app/src/main/java/com/wireguard/config/Peer.java b/app/src/main/java/com/wireguard/config/Peer.java index 60fe5c82..ee2c7de4 100644 --- a/app/src/main/java/com/wireguard/config/Peer.java +++ b/app/src/main/java/com/wireguard/config/Peer.java @@ -315,7 +315,7 @@ public class Peer { return publicKey; } - protected void loadData(final Peer parent) { + private void loadData(final Peer parent) { allowedIPs = parent.getAllowedIPsString(); endpoint = parent.getEndpointString(); persistentKeepalive = parent.getPersistentKeepaliveString(); |