summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/danoeh
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2024-04-07 23:28:14 +0200
committerGitHub <noreply@github.com>2024-04-07 23:28:14 +0200
commite578f4ca93f6292f62e4b4c7fa11d17fe0b27c71 (patch)
tree383ed908c22d51fd789b8db814a4dc17e7d5dfb7 /app/src/main/java/de/danoeh
parentfc40da28a7a9146cd1e3c11e5169477ba85399c1 (diff)
downloadAntennaPod-e578f4ca93f6292f62e4b4c7fa11d17fe0b27c71.zip
CI tweaks (#7069)
- Run Checkstyle with gradle to make it easier for users - No longer needs different configuration for new code - Exclude current violations - Fix some violations that somehow couldn't be specified in the exclusion file - Print SpotBugs/Lint/Checkstly violations in GitHub format - Then the CI run gets annotated on the web UI
Diffstat (limited to 'app/src/main/java/de/danoeh')
-rw-r--r--app/src/main/java/de/danoeh/antennapod/ui/screen/preferences/ProxyDialog.java6
-rw-r--r--app/src/main/java/de/danoeh/antennapod/ui/view/LockableBottomSheetBehavior.java3
2 files changed, 6 insertions, 3 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/ui/screen/preferences/ProxyDialog.java b/app/src/main/java/de/danoeh/antennapod/ui/screen/preferences/ProxyDialog.java
index ca4b4b5e5..6086f5cb1 100644
--- a/app/src/main/java/de/danoeh/antennapod/ui/screen/preferences/ProxyDialog.java
+++ b/app/src/main/java/de/danoeh/antennapod/ui/screen/preferences/ProxyDialog.java
@@ -173,10 +173,12 @@ public class ProxyDialog {
private final TextWatcher requireTestOnChange = new TextWatcher() {
@Override
- public void beforeTextChanged(CharSequence s, int start, int count, int after) {}
+ public void beforeTextChanged(CharSequence s, int start, int count, int after) {
+ }
@Override
- public void onTextChanged(CharSequence s, int start, int before, int count) {}
+ public void onTextChanged(CharSequence s, int start, int before, int count) {
+ }
@Override
public void afterTextChanged(Editable s) {
diff --git a/app/src/main/java/de/danoeh/antennapod/ui/view/LockableBottomSheetBehavior.java b/app/src/main/java/de/danoeh/antennapod/ui/view/LockableBottomSheetBehavior.java
index aa506aaea..13fcd2715 100644
--- a/app/src/main/java/de/danoeh/antennapod/ui/view/LockableBottomSheetBehavior.java
+++ b/app/src/main/java/de/danoeh/antennapod/ui/view/LockableBottomSheetBehavior.java
@@ -13,7 +13,8 @@ import com.google.android.material.bottomsheet.ViewPagerBottomSheetBehavior;
public class LockableBottomSheetBehavior<V extends View> extends ViewPagerBottomSheetBehavior<V> {
private boolean isLocked = false;
- public LockableBottomSheetBehavior() {}
+ public LockableBottomSheetBehavior() {
+ }
public LockableBottomSheetBehavior(Context context, AttributeSet attrs) {
super(context, attrs);