Louis Pullen-Freilich | 1b57674a | 2019-06-13 19:51:30 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Jeff Gaston | 19b28c0 | 2020-10-28 17:26:03 -0400 | [diff] [blame^] | 2 | <issues format="5" by="lint 4.2.0-alpha15" client="gradle" variant="debug" version="4.2.0-alpha15"> |
| 3 | |
| 4 | <issue |
| 5 | id="DefaultLocale" |
| 6 | message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead" |
| 7 | errorLine1=" t.setName(String.format(THREAD_NAME_STEM, mThreadId.getAndIncrement()));" |
| 8 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 9 | <location |
| 10 | file="src/main/java/androidx/arch/core/executor/DefaultTaskExecutor.java" |
| 11 | line="49" |
| 12 | column="23"/> |
| 13 | </issue> |
Louis Pullen-Freilich | 1b57674a | 2019-06-13 19:51:30 +0100 | [diff] [blame] | 14 | |
| 15 | <issue |
Oussama Ben Abdelbaki | dd0931f | 2020-08-05 12:17:43 -0400 | [diff] [blame] | 16 | id="UnsafeNewApiCall" |
| 17 | message="This call is to a method from API 28, the call containing class androidx.arch.core.executor.DefaultTaskExecutor is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)." |
| 18 | errorLine1=" return Handler.createAsync(looper);" |
| 19 | errorLine2=" ~~~~~~~~~~~"> |
| 20 | <location |
| 21 | file="src/main/java/androidx/arch/core/executor/DefaultTaskExecutor.java" |
| 22 | line="82" |
| 23 | column="28"/> |
| 24 | </issue> |
| 25 | |
| 26 | <issue |
Louis Pullen-Freilich | 1b57674a | 2019-06-13 19:51:30 +0100 | [diff] [blame] | 27 | id="UnknownNullness" |
| 28 | message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| 29 | errorLine1=" public void executeOnDiskIO(Runnable runnable) {" |
| 30 | errorLine2=" ~~~~~~~~"> |
| 31 | <location |
| 32 | file="src/main/java/androidx/arch/core/executor/ArchTaskExecutor.java" |
| 33 | line="95" |
| 34 | column="33"/> |
| 35 | </issue> |
| 36 | |
| 37 | <issue |
| 38 | id="UnknownNullness" |
| 39 | message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| 40 | errorLine1=" public void postToMainThread(Runnable runnable) {" |
| 41 | errorLine2=" ~~~~~~~~"> |
| 42 | <location |
| 43 | file="src/main/java/androidx/arch/core/executor/ArchTaskExecutor.java" |
| 44 | line="100" |
| 45 | column="34"/> |
| 46 | </issue> |
| 47 | |
| 48 | <issue |
| 49 | id="UnknownNullness" |
| 50 | message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| 51 | errorLine1=" public void executeOnDiskIO(Runnable runnable) {" |
| 52 | errorLine2=" ~~~~~~~~"> |
| 53 | <location |
| 54 | file="src/main/java/androidx/arch/core/executor/DefaultTaskExecutor.java" |
| 55 | line="58" |
| 56 | column="33"/> |
| 57 | </issue> |
| 58 | |
| 59 | <issue |
| 60 | id="UnknownNullness" |
| 61 | message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| 62 | errorLine1=" public void postToMainThread(Runnable runnable) {" |
| 63 | errorLine2=" ~~~~~~~~"> |
| 64 | <location |
| 65 | file="src/main/java/androidx/arch/core/executor/DefaultTaskExecutor.java" |
| 66 | line="63" |
| 67 | column="34"/> |
| 68 | </issue> |
| 69 | |
| 70 | </issues> |