diff options
author | Andrew Gaul <andrew@gaul.org> | 2013-07-13 18:44:37 -0700 |
---|---|---|
committer | Andrew Gaul <andrew@gaul.org> | 2013-07-14 22:13:49 -0700 |
commit | b1cdfe20416dc78349dc78b279f718076e07643c (patch) | |
tree | 5d28c589a1c3cb8f5685fa4439ad2b1d72a4ecb4 /src/de/danoeh/antennapod/asynctask/OpmlFeedQueuer.java | |
parent | 941fa9062e2ac1709e8c99208e2f63226fe2c7a8 (diff) | |
download | AntennaPod-b1cdfe20416dc78349dc78b279f718076e07643c.zip |
Address FindBugs warnings
This commit fixes 36 of the 109 warnings.
Diffstat (limited to 'src/de/danoeh/antennapod/asynctask/OpmlFeedQueuer.java')
-rw-r--r-- | src/de/danoeh/antennapod/asynctask/OpmlFeedQueuer.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/de/danoeh/antennapod/asynctask/OpmlFeedQueuer.java b/src/de/danoeh/antennapod/asynctask/OpmlFeedQueuer.java index 4d9c9867e..64e678086 100644 --- a/src/de/danoeh/antennapod/asynctask/OpmlFeedQueuer.java +++ b/src/de/danoeh/antennapod/asynctask/OpmlFeedQueuer.java @@ -1,5 +1,6 @@ package de.danoeh.antennapod.asynctask; +import java.util.Arrays; import java.util.Date; import android.annotation.SuppressLint; @@ -22,7 +23,7 @@ public class OpmlFeedQueuer extends AsyncTask<Void, Void, Void> { public OpmlFeedQueuer(Context context, int[] selection) { super(); this.context = context; - this.selection = selection; + this.selection = Arrays.copyOf(selection, selection.length); } @Override |