Skip to content

Commit 0fdc710

Browse files
committed
Address additional detekt linter errors.
1 parent 4bc1b42 commit 0fdc710

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

CorePayments/src/main/java/com/paypal/android/corepayments/captureDeepLink.kt renamed to CorePayments/src/main/java/com/paypal/android/corepayments/DeepLinkUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,4 @@ inline fun <reified T : DeepLink> captureDeepLink(
122122
} else {
123123
CaptureDeepLinkResult.DeepLinkDoesNotMatch
124124
}
125-
}
125+
}

CorePayments/src/main/java/com/paypal/android/corepayments/browserswitch/BrowserSwitchClient.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.paypal.android.corepayments.browserswitch
22

33
import android.content.Context
4-
import android.content.Intent
54
import androidx.annotation.RestrictTo
65

76
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)

CorePayments/src/main/java/com/paypal/android/corepayments/browserswitch/ChromeCustomTabsClient.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ class ChromeCustomTabsClient {
1313
val customTabsIntent = CustomTabsIntent.Builder().build()
1414
customTabsIntent.launchUrl(context, options.launchUri)
1515
}
16-
}
16+
}

CorePayments/src/test/java/com/paypal/android/corepayments/browserswitch/BrowserSwitchClientUnitTest.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
package com.paypal.android.corepayments.browserswitch
22

33
import android.content.Context
4-
import android.content.Intent
54
import androidx.core.net.toUri
65
import androidx.test.core.app.ApplicationProvider
76
import io.mockk.mockk
87
import io.mockk.verify
98
import org.json.JSONObject
10-
import org.junit.Assert.assertEquals
119
import org.junit.Assert.assertTrue
1210
import org.junit.Before
1311
import org.junit.Test
1412
import org.junit.runner.RunWith
1513
import org.robolectric.RobolectricTestRunner
16-
import org.skyscreamer.jsonassert.JSONAssert
1714

1815
@RunWith(RobolectricTestRunner::class)
1916
class BrowserSwitchClientUnitTest {

0 commit comments

Comments
 (0)