diff options
author | egsavage <egs@egsavage.com> | 2018-10-07 22:04:44 -0400 |
---|---|---|
committer | Martin Fietz <martin.fietz@gmail.com> | 2018-10-21 11:15:47 +0200 |
commit | a52f1ba34f917aa3cbaf0aff661d6ba64607a32d (patch) | |
tree | 3cc5e830d39f96453b7140c42cd2294bca499aeb /app/src/main/java/de/danoeh/antennapod/spa | |
parent | 2dbcae1576a570b0e17a5bd389c749eafd24bdfb (diff) | |
download | AntennaPod-a52f1ba34f917aa3cbaf0aff661d6ba64607a32d.zip |
Remove redundant type casts
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/spa')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/spa/SPAUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/spa/SPAUtil.java b/app/src/main/java/de/danoeh/antennapod/spa/SPAUtil.java index 75cbd8b5a..03958508d 100644 --- a/app/src/main/java/de/danoeh/antennapod/spa/SPAUtil.java +++ b/app/src/main/java/de/danoeh/antennapod/spa/SPAUtil.java @@ -33,7 +33,7 @@ public class SPAUtil { * sent before. */ public static synchronized boolean sendSPAppsQueryFeedsIntent(Context context) { - if (context == null) throw new IllegalArgumentException("context = null"); + assert context != null : "context = null"; final Context appContext = context.getApplicationContext(); if (appContext == null) { Log.wtf(TAG, "Unable to get application context"); |