Skip to content

Commit b8d4e45

Browse files
committed
Analysis: Suppress kotlin stdlib's decapitalize deprecated warning
Warning Messages: "'decapitalize(Locale): String' is deprecated. Use replaceFirstChar instead." This deprecated warning is suppressed, that is, instead of it being resolved, since using 'replaceFirstChar { ... }' is a bit complicated and it would need a bit more thought.
1 parent cbef4e0 commit b8d4e45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/processors/src/main/java/org/wordpress/android/processor/RemoteConfigCheckBuilder.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import com.squareup.kotlinpoet.TypeSpec
1111
import java.util.Locale
1212

1313
class RemoteConfigCheckBuilder(private val remoteFeatures: List<TypeName>) {
14+
@Suppress("DEPRECATION")
1415
fun getContent(): FileSpec {
1516
val remoteFeaturesWithNames = remoteFeatures.map {
1617
it.toString()

0 commit comments

Comments
 (0)