71 lines
3.8 KiB
XML
71 lines
3.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<issues format="6" by="lint 7.2.2" type="baseline" client="gradle" dependencies="false" name="AGP (7.2.2)" variant="all" version="7.2.2">
|
|
|
|
<issue
|
|
id="SimpleDateFormat"
|
|
message="To get local formatting use `getDateInstance()`, `getDateTimeInstance()`, or `getTimeInstance()`, or use `new SimpleDateFormat(String template, Locale locale)` with for example `Locale.US` for ASCII dates."
|
|
errorLine1=" .run { SimpleDateFormat(PATTERN_FORMATTER_DAYS).parse(this) }"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/duckduckgo/app/global/formatters/time/TimeDiffFormatter.kt"
|
|
line="85"
|
|
column="20"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="SimpleDateFormat"
|
|
message="To get local formatting use `getDateInstance()`, `getDateTimeInstance()`, or `getTimeInstance()`, or use `new SimpleDateFormat(String template, Locale locale)` with for example `Locale.US` for ASCII dates."
|
|
errorLine1=" .run { SimpleDateFormat(PATTERN_FORMATTER_DAYS).parse(this) }"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/duckduckgo/app/global/formatters/time/TimeDiffFormatter.kt"
|
|
line="87"
|
|
column="20"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="SimpleDateFormat"
|
|
message="To get local formatting use `getDateInstance()`, `getDateTimeInstance()`, or `getTimeInstance()`, or use `new SimpleDateFormat(String template, Locale locale)` with for example `Locale.US` for ASCII dates."
|
|
errorLine1=" .run { SimpleDateFormat(PATTERN_FORMATTER_DAYS).parse(this) }"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/duckduckgo/app/global/formatters/time/TimeDiffFormatter.kt"
|
|
line="104"
|
|
column="20"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="SimpleDateFormat"
|
|
message="To get local formatting use `getDateInstance()`, `getDateTimeInstance()`, or `getTimeInstance()`, or use `new SimpleDateFormat(String template, Locale locale)` with for example `Locale.US` for ASCII dates."
|
|
errorLine1=" .run { SimpleDateFormat(PATTERN_FORMATTER_DAYS).parse(this) }"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/duckduckgo/app/global/formatters/time/TimeDiffFormatter.kt"
|
|
line="106"
|
|
column="20"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="SimpleDateFormat"
|
|
message="To get local formatting use `getDateInstance()`, `getDateTimeInstance()`, or `getTimeInstance()`, or use `new SimpleDateFormat(String template, Locale locale)` with for example `Locale.US` for ASCII dates."
|
|
errorLine1=" private val FORMATTER_DAYS = SimpleDateFormat("yyyy-MM-dd")"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/duckduckgo/app/global/formatters/time/TimeDiffFormatter.kt"
|
|
line="117"
|
|
column="38"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="PluralsCandidate"
|
|
message="Formatting %d followed by words ("days"): This should probably be a plural rather than a string"
|
|
errorLine1=" <string name="common_DaysAgo" instruction="Placeholder is the number of days">%1$d days ago</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings-common.xml"
|
|
line="22"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
</issues>
|