blob: 58a9e33e0ade2ecd8b04c5b9a6fc78cec27bc453 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.3.0-dev" type="baseline" client="" dependencies="true" name="" variant="all" version="8.3.0-dev">
<issue
id="DefaultLocale"
message="Implicitly using the default locale is a common source of bugs: Use `toLowerCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`."
errorLine1=" String normalized = encoding.toLowerCase().replace(&quot;-&quot;, &quot;_&quot;);"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/test/java/com/android/utils/PositionXmlParserTest.java"
line="225"
column="42"/>
</issue>
<issue
id="DefaultLocale"
message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead"
errorLine1=" assertEquals(&quot;1,50&quot;, String.format(&quot;%.2f&quot;, 1.5f));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/test/java/com/android/utils/XmlUtilsTest.java"
line="399"
column="34"/>
</issue>
<issue
id="PathAsIterable"
message="Using `Path` in an `Iterable` context: make sure this is doing what you expect and suppress this warning if so"
errorLine1=" .that(result)"
errorLine2=" ~~~~~~">
<location
file="src/test/java/com/android/prefs/AbstractAndroidLocationsTest.kt"
line="50"
column="19"/>
</issue>
<issue
id="PathAsIterable"
message="Using `Path` in an `Iterable` context: make sure this is doing what you expect and suppress this warning if so"
errorLine1=" .that(result2)"
errorLine2=" ~~~~~~~">
<location
file="src/test/java/com/android/prefs/AbstractAndroidLocationsTest.kt"
line="58"
column="19"/>
</issue>
<issue
id="PathAsIterable"
message="Using `Path` in an `Iterable` context: make sure this is doing what you expect and suppress this warning if so"
errorLine1=" .that(result)"
errorLine2=" ~~~~~~">
<location
file="src/test/java/com/android/prefs/AbstractAndroidLocationsTest.kt"
line="76"
column="19"/>
</issue>
<issue
id="PathAsIterable"
message="Using `Path` in an `Iterable` context: make sure this is doing what you expect and suppress this warning if so"
errorLine1=" .that(AndroidLocations(provider, logger).prefsLocation)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/test/java/com/android/prefs/AbstractAndroidLocationsTest.kt"
line="94"
column="19"/>
</issue>
<issue
id="PathAsIterable"
message="Using `Path` in an `Iterable` context: make sure this is doing what you expect and suppress this warning if so"
errorLine1=" .that(result)"
errorLine2=" ~~~~~~">
<location
file="src/test/java/com/android/prefs/AbstractAndroidLocationsTest.kt"
line="114"
column="19"/>
</issue>
<issue
id="PathAsIterable"
message="Using `Path` in an `Iterable` context: make sure this is doing what you expect and suppress this warning if so"
errorLine1=" .that(AndroidLocations(provider, logger).prefsLocation)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/test/java/com/android/prefs/AbstractAndroidLocationsTest.kt"
line="164"
column="19"/>
</issue>
<issue
id="PathAsIterable"
message="Using `Path` in an `Iterable` context: make sure this is doing what you expect and suppress this warning if so"
errorLine1=" .that(result)"
errorLine2=" ~~~~~~">
<location
file="src/test/java/com/android/prefs/AbstractAndroidLocationsTest.kt"
line="346"
column="19"/>
</issue>
<issue
id="PathAsIterable"
message="Using `Path` in an `Iterable` context: make sure this is doing what you expect and suppress this warning if so"
errorLine1=" .that(AndroidLocations(provider, logger).avdLocation)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/test/java/com/android/prefs/AbstractAndroidLocationsTest.kt"
line="364"
column="19"/>
</issue>
<issue
id="PathAsIterable"
message="Using `Path` in an `Iterable` context: make sure this is doing what you expect and suppress this warning if so"
errorLine1=" .that(AndroidLocations(provider, logger).userHomeLocation)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/test/java/com/android/prefs/AbstractAndroidLocationsTest.kt"
line="383"
column="19"/>
</issue>
<issue
id="PathAsIterable"
message="Using `Path` in an `Iterable` context: make sure this is doing what you expect and suppress this warning if so"
errorLine1=" .that(result)"
errorLine2=" ~~~~~~">
<location
file="src/test/java/com/android/prefs/AbstractAndroidLocationsTest.kt"
line="403"
column="19"/>
</issue>
<issue
id="PathAsIterable"
message="Using `Path` in an `Iterable` context: make sure this is doing what you expect and suppress this warning if so"
errorLine1=" .that(AndroidLocations(provider, logger).userHomeLocation)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/test/java/com/android/prefs/AbstractAndroidLocationsTest.kt"
line="419"
column="19"/>
</issue>
<issue
id="PathAsIterable"
message="Using `Path` in an `Iterable` context: make sure this is doing what you expect and suppress this warning if so"
errorLine1=" .that(AndroidLocations(provider, logger).userHomeLocation)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/test/java/com/android/prefs/AbstractAndroidLocationsTest.kt"
line="435"
column="19"/>
</issue>
<issue
id="FileComparisons"
message="Do not compare java.io.File with `equals` or `==`: will not work correctly on case insensitive file systems! See `go/files-howto`."
errorLine1=" return !new File(&quot;a&quot;).equals(new File(&quot;A&quot;));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/test/java/com/android/utils/FileUtilsTest.java"
line="169"
column="17"/>
</issue>
<issue
id="ImplicitExecutor"
message="Use `supplyAsync` overload with an explicit Executor instead. See `go/do-not-freeze`."
errorLine1=" return CompletableFuture.supplyAsync(() -> tryLockInCurrentThread(lock, withUnlock))"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/test/java/com/android/utils/concurrency/ReadWriteProcessLockTest.java"
line="217"
column="20"/>
</issue>
<issue
id="ImplicitExecutor"
message="Use `supplyAsync` overload with an explicit Executor instead. See `go/do-not-freeze`."
errorLine1=" return CompletableFuture.supplyAsync(() -> tryLockInCurrentThread(lock, withUnlock))"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/test/java/com/android/utils/concurrency/ReadWriteThreadLockTest.java"
line="144"
column="20"/>
</issue>
</issues>