From 4a3d68bb7df598aab64f7fcd8a4d43eaa31dc6bf Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Sun, 7 Jan 2018 21:51:55 -0600 Subject: BaseActivity: Make variable names consistent Signed-off-by: Samuel Holland --- app/src/main/java/com/wireguard/android/activity/BaseActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src/main') diff --git a/app/src/main/java/com/wireguard/android/activity/BaseActivity.java b/app/src/main/java/com/wireguard/android/activity/BaseActivity.java index a2eddbe1..10c7bca9 100644 --- a/app/src/main/java/com/wireguard/android/activity/BaseActivity.java +++ b/app/src/main/java/com/wireguard/android/activity/BaseActivity.java @@ -39,8 +39,8 @@ public abstract class BaseActivity extends Activity { else if (getIntent() != null) savedTunnelName = getIntent().getStringExtra(KEY_SELECTED_TUNNEL); if (savedTunnelName != null) { - final TunnelManager manager = Application.getComponent().getTunnelManager(); - selectedTunnel = manager.getTunnels().get(savedTunnelName); + final TunnelManager tunnelManager = Application.getComponent().getTunnelManager(); + selectedTunnel = tunnelManager.getTunnels().get(savedTunnelName); } // The selected tunnel must be set before the superclass method recreates fragments. super.onCreate(savedInstanceState); -- cgit v1.2.3