diff options
author | Taco <SkytkRSfan3895@gmail.com> | 2024-04-05 20:28:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-05 19:28:36 +0200 |
commit | b6a4049ff4a792cbed826320064ccca72fc3e6e5 (patch) | |
tree | 83b8b52a1954c2b1374ee5b691c7bd0e00009c71 /ui/statistics | |
parent | 92ab575b150ab49ca85e0ac994558142e49c9e68 (diff) | |
download | AntennaPod-b6a4049ff4a792cbed826320064ccca72fc3e6e5.zip |
Spotbugs cleanup (#6968)
Remove unused SpotBugs rules.
Fix URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD, ICAST_INTEGER_MULTIPLY_CAST_TO_LONG, NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION, OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE
Diffstat (limited to 'ui/statistics')
-rw-r--r-- | ui/statistics/src/main/java/de/danoeh/antennapod/ui/statistics/PieChartView.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/statistics/src/main/java/de/danoeh/antennapod/ui/statistics/PieChartView.java b/ui/statistics/src/main/java/de/danoeh/antennapod/ui/statistics/PieChartView.java index f3e6f0259..96f8577d2 100644 --- a/ui/statistics/src/main/java/de/danoeh/antennapod/ui/statistics/PieChartView.java +++ b/ui/statistics/src/main/java/de/danoeh/antennapod/ui/statistics/PieChartView.java @@ -11,23 +11,23 @@ import android.graphics.RectF; import android.graphics.drawable.Drawable; import android.util.AttributeSet; import androidx.annotation.NonNull; +import androidx.annotation.Nullable; import androidx.appcompat.widget.AppCompatImageView; -import io.reactivex.annotations.Nullable; public class PieChartView extends AppCompatImageView { private PieChartDrawable drawable; - public PieChartView(Context context) { + public PieChartView(@NonNull Context context) { super(context); setup(); } - public PieChartView(Context context, @Nullable AttributeSet attrs) { + public PieChartView(@NonNull Context context, @Nullable AttributeSet attrs) { super(context, attrs); setup(); } - public PieChartView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) { + public PieChartView(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) { super(context, attrs, defStyleAttr); setup(); } |