From 922f0f1dfdf32e5419c861b0e1f8cc08e47989b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernat=20Borr=C3=A1s?= Date: Fri, 3 Sep 2021 10:52:48 +0200 Subject: [PATCH] Fix checkstyle --- build.gradle | 1 - .../android/barista/internal/viewaction/SwipeActions.kt | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 51821714..bde6f941 100644 --- a/build.gradle +++ b/build.gradle @@ -23,5 +23,4 @@ allprojects { task clean(type: Delete) { delete rootProject.buildDir } - apply from: "${rootDir}/scripts/publish-root.gradle" \ No newline at end of file diff --git a/library/src/main/java/com/adevinta/android/barista/internal/viewaction/SwipeActions.kt b/library/src/main/java/com/adevinta/android/barista/internal/viewaction/SwipeActions.kt index ae595c8c..2821b234 100644 --- a/library/src/main/java/com/adevinta/android/barista/internal/viewaction/SwipeActions.kt +++ b/library/src/main/java/com/adevinta/android/barista/internal/viewaction/SwipeActions.kt @@ -26,6 +26,7 @@ import com.adevinta.android.barista.internal.viewaction.ViewPager2SwipeAction.Di import org.hamcrest.Matcher import org.hamcrest.Matchers.allOf import org.hamcrest.Matchers.anyOf +import java.util.Locale object SwipeActions { @@ -142,7 +143,7 @@ private class GeneralSwipeWithPartiallyVisibleViewAction( } override fun getDescription(): String { - return swiper.toString().toLowerCase() + " swipe" + return swiper.toString().lowercase(Locale.getDefault()) + " swipe" } companion object {