Skip to content

Commit 55e40c8

Browse files
committed
Cleanup: Remove superfluous generics.
1 parent 11ee554 commit 55e40c8

File tree

1 file changed

+3
-3
lines changed
  • build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid

1 file changed

+3
-3
lines changed

build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/NiaFlavor.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ enum class NiaFlavor(val dimension: FlavorDimension, val applicationIdSuffix: St
3434
prod(FlavorDimension.contentType),
3535
}
3636

37-
fun <E : CommonExtension<*, *, *, F, *, *>, F : ProductFlavor> configureFlavors(
38-
commonExtension: E,
37+
fun configureFlavors(
38+
commonExtension: CommonExtension<*, *, *, *, *, *>,
3939
flavorConfigurationBlock: ProductFlavor.(flavor: NiaFlavor) -> Unit = {},
4040
) {
4141
when (commonExtension) {
@@ -49,7 +49,7 @@ fun <E : CommonExtension<*, *, *, F, *, *>, F : ProductFlavor> configureFlavors(
4949
}
5050

5151
@JvmName("configureFlavorsImpl")
52-
private inline fun <E : CommonExtension<*, *, *, F, *, *>, F : ProductFlavor> E.configureFlavors(
52+
private inline fun <E : CommonExtension<*, *, *, out F, *, *>, F : ProductFlavor> E.configureFlavors(
5353
crossinline flavorConfigurationBlock: F.(flavor: NiaFlavor) -> Unit = {},
5454
) {
5555
apply {

0 commit comments

Comments
 (0)