| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 7.1.0-alpha02" type="baseline" client="cli" name="Lint" variant="all" version="7.1.0-alpha02"> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 21 (current min is 14): `LOCALIZED`" |
| errorLine1=" @ColumnInfo(collate = ColumnInfo.LOCALIZED)" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/integration/testapp/test/CollationTest.java" |
| line="120" |
| column="42"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 21 (current min is 14): `UNICODE`" |
| errorLine1=" @ColumnInfo(collate = ColumnInfo.UNICODE)" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/integration/testapp/test/CollationTest.java" |
| line="122" |
| column="42"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `java.util.Objects#hash`" |
| errorLine1=" return Objects.hash(id, name);" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/integration/testapp/test/InvalidationTrackerTest.java" |
| line="241" |
| column="28"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 24 (current min is 14): `java.lang.Long#hashCode`" |
| errorLine1=" int result = Long.hashCode(id);" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/integration/testapp/vo/Product.java" |
| line="49" |
| column="27"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `java.util.Objects#hash`" |
| errorLine1=" return Objects.hash(mId, mUsername);" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/integration/testapp/test/ProvidedTypeConverterTest.java" |
| line="229" |
| column="28"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `java.util.Objects#hash`" |
| errorLine1=" return Objects.hash(mName, mLastName);" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/integration/testapp/test/ProvidedTypeConverterTest.java" |
| line="280" |
| column="28"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `new java.lang.AssertionError`" |
| errorLine1=" throw new AssertionError("interrupted", e);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/integration/testapp/test/QueryTransactionTest.java" |
| line="290" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `new java.lang.AssertionError`" |
| errorLine1=" throw new AssertionError("drain timed out", e);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/integration/testapp/test/QueryTransactionTest.java" |
| line="292" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `new java.lang.AssertionError`" |
| errorLine1=" throw new AssertionError("interrupted", e);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/integration/testapp/test/QueryTransactionTest.java" |
| line="327" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `new java.lang.AssertionError`" |
| errorLine1=" throw new AssertionError("execution error", e);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/integration/testapp/test/QueryTransactionTest.java" |
| line="329" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 30 (current min is 24): `java.util.List#of`" |
| errorLine1=" mDB.getDao().insert(new TestEntity("1", List.of("a", "b", "c")));" |
| errorLine2=" ~~"> |
| <location |
| file="src/androidTest/java/androidx/room/integration/testapp/test/TypeConverterPriorityTest.java" |
| line="62" |
| column="54"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 30 (current min is 24): `java.util.List#of`" |
| errorLine1=" mDB.getDao().insert(new TestEntity("2", List.of("d", "e", "f")));" |
| errorLine2=" ~~"> |
| <location |
| file="src/androidTest/java/androidx/room/integration/testapp/test/TypeConverterPriorityTest.java" |
| line="63" |
| column="54"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 30 (current min is 24): `java.util.List#of`" |
| errorLine1=" mDB.getDao().insert(new TestEntity("3", List.of("g", "h", "i")));" |
| errorLine2=" ~~"> |
| <location |
| file="src/androidTest/java/androidx/room/integration/testapp/test/TypeConverterPriorityTest.java" |
| line="64" |
| column="54"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 30 (current min is 24): `java.util.List#of`" |
| errorLine1=" mDB.getDao().delete(List.of("2", "3"));" |
| errorLine2=" ~~"> |
| <location |
| file="src/androidTest/java/androidx/room/integration/testapp/test/TypeConverterPriorityTest.java" |
| line="65" |
| column="34"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 30 (current min is 24): `java.util.List#of`" |
| errorLine1=" mDB.getDao().insert(new TestEntity("1", List.of("a", "b", "c")));" |
| errorLine2=" ~~"> |
| <location |
| file="src/androidTest/java/androidx/room/integration/testapp/test/TypeConverterPriorityTest.java" |
| line="71" |
| column="54"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 30 (current min is 24): `java.util.List#of`" |
| errorLine1=" mDB.getDao().update("1", List.of("d", "e", "f"));" |
| errorLine2=" ~~"> |
| <location |
| file="src/androidTest/java/androidx/room/integration/testapp/test/TypeConverterPriorityTest.java" |
| line="72" |
| column="39"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 30 (current min is 24): `java.util.List#of`" |
| errorLine1=" assertThat(mDB.getDao().getAll().get(0).data).isEqualTo(List.of("d", "e", "f"));" |
| errorLine2=" ~~"> |
| <location |
| file="src/androidTest/java/androidx/room/integration/testapp/test/TypeConverterPriorityTest.java" |
| line="74" |
| column="70"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 26 (current min is 24): `java.lang.String#join`" |
| errorLine1=" return String.join(",", list);" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/androidTest/java/androidx/room/integration/testapp/test/TypeConverterPriorityTest.java" |
| line="114" |
| column="27"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mDatabase` of class `SampleDatabaseService` requires synthetic accessor" |
| errorLine1=" mDatabase.getCustomerDao().insert(customer);" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/SampleDatabaseService.java" |
| line="58" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mDatabase` of class `SampleDatabaseService` requires synthetic accessor" |
| errorLine1=" final LiveData<List<Customer>> customers = mDatabase.getCustomerDao().all();" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/SampleDatabaseService.java" |
| line="73" |
| column="56"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public String getName() {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/Customer.java" |
| line="45" |
| column="12"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public void setName(String name) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/Customer.java" |
| line="49" |
| column="25"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public String getLastName() {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/Customer.java" |
| line="53" |
| column="12"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public void setLastName(String lastName) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/Customer.java" |
| line="57" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" void insert(Customer customer);" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/CustomerDao.java" |
| line="37" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" void insertAll(Customer[] customers);" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/CustomerDao.java" |
| line="44" |
| column="20"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" LiveData<List<Customer>> all();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/CustomerDao.java" |
| line="56" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public Description(int productId, String text) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/Description.java" |
| line="32" |
| column="39"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public String getText() {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/Description.java" |
| line="41" |
| column="12"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public Product(int id, String name) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/Product.java" |
| line="38" |
| column="28"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public String getName() {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/Product.java" |
| line="51" |
| column="12"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public void setName(String name) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/Product.java" |
| line="55" |
| column="25"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" void insert(Product product);" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/ProductDao.java" |
| line="35" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" void addReview(Review review);" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/ProductDao.java" |
| line="41" |
| column="20"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" List<Review> getProductReviews(int productId);" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/ProductDao.java" |
| line="47" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" void addDescription(Description description);" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/ProductFtsDao.java" |
| line="35" |
| column="25"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" List<Product> getProductsWithDescription(String query);" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/ProductFtsDao.java" |
| line="42" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" List<Product> getProductsWithDescription(String query);" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/ProductFtsDao.java" |
| line="42" |
| column="46"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public abstract CustomerDao getCustomerDao();" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/SampleDatabase.java" |
| line="31" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public abstract ProductDao getProductDao();" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/SampleDatabase.java" |
| line="36" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public static Intent intentFor(Context context, String databaseName) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/SampleDatabaseService.java" |
| line="99" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public static Intent intentFor(Context context, String databaseName) {" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/SampleDatabaseService.java" |
| line="99" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public static Intent intentFor(Context context, String databaseName) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/SampleDatabaseService.java" |
| line="99" |
| column="53"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public IBinder onBind(Intent intent) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/SampleDatabaseService.java" |
| line="107" |
| column="27"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public boolean onUnbind(Intent intent) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/SampleDatabaseService.java" |
| line="122" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public abstract ProductFtsDao getProductDao();" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/room/integration/testapp/database/SampleFtsDatabase.java" |
| line="31" |
| column="21"/> |
| </issue> |
| |
| </issues> |