diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2012-04-22 00:21:15 +0200 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2012-04-22 00:44:13 +0200 |
commit | 1350c98d53af21688b09fa7dfad38123c7e5b997 (patch) | |
tree | 776da4ad3297a33031d2f79bcc2005f240e6c496 /main/src/cgeo/geocaching/apps | |
parent | 1fc2e3a3e6a6d328bb7cba9cc103c2bc5f531876 (diff) | |
download | cgeo-1350c98d53af21688b09fa7dfad38123c7e5b997.zip cgeo-1350c98d53af21688b09fa7dfad38123c7e5b997.tar.gz cgeo-1350c98d53af21688b09fa7dfad38123c7e5b997.tar.bz2 |
Refactoring: remove redundant local variables
Diffstat (limited to 'main/src/cgeo/geocaching/apps')
-rw-r--r-- | main/src/cgeo/geocaching/apps/AbstractApp.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/apps/AbstractApp.java b/main/src/cgeo/geocaching/apps/AbstractApp.java index 1161a05..f79afe0 100644 --- a/main/src/cgeo/geocaching/apps/AbstractApp.java +++ b/main/src/cgeo/geocaching/apps/AbstractApp.java @@ -33,8 +33,7 @@ public abstract class AbstractApp implements App { try { // This can throw an exception where the exception type is only defined on API Level > 3 // therefore surround with try-catch - final Intent intent = packageManager.getLaunchIntentForPackage(packageName); - return intent; + return packageManager.getLaunchIntentForPackage(packageName); } catch (Exception e) { return null; } |