From fec5fa8caf67dc5da7a7d703f2ca879e7d1174fd Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 13 Jul 2018 04:06:55 +0200 Subject: config: make loadData private Signed-off-by: Jason A. Donenfeld --- app/src/main/java/com/wireguard/config/Interface.java | 2 +- app/src/main/java/com/wireguard/config/Peer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app') 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(); -- cgit v1.2.3