diff options
author | Andrew Gaul <andrew@gaul.org> | 2018-01-20 18:27:44 -0800 |
---|---|---|
committer | Andrew Gaul <andrew@gaul.org> | 2018-01-20 18:28:21 -0800 |
commit | 404f241891891b71adcf2364446302886b5d3252 (patch) | |
tree | dbbdac37d6806207d047e5a3c7972ec5064a4c9c /app/src/main/java/de/danoeh/antennapod/dialog | |
parent | b98571ede8f123f8df740e08e0e94da6e4370f51 (diff) | |
download | AntennaPod-404f241891891b71adcf2364446302886b5d3252.zip |
Make some static fields final
Adding final prohibits modification and allows initialization of
primitive and String fields at compile time instead of runtime in
clinit:
https://developer.android.com/training/articles/perf-tips.html#UseFinal
Found via error-prone.
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/dialog')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java b/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java index ac073141d..3d577553c 100644 --- a/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java @@ -32,7 +32,7 @@ import de.danoeh.antennapod.core.util.LongList; public class EpisodesApplyActionFragment extends Fragment { - public String TAG = "EpisodeActionFragment"; + public static final String TAG = "EpisodeActionFragment"; public static final int ACTION_QUEUE = 1; public static final int ACTION_MARK_PLAYED = 2; |