mirror of
https://github.com/tuskyapp/Tusky
synced 2024-12-17 19:39:05 +01:00
f99cb6d1d5
Clears the baseline of issues in our code, and resolves most of the straightforward warnings from the report
1837 lines
87 KiB
XML
1837 lines
87 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<issues format="6" by="lint 8.1.1" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.1)" variant="all" version="8.1.1">
|
|
|
|
<issue
|
|
id="CheckResult"
|
|
message="The result of `placeholder` is not used"
|
|
errorLine1=" if (showPlaceholder) placeholder(R.drawable.avatar_default)"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/MainActivity.kt"
|
|
line="937"
|
|
column="42"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="CheckResult"
|
|
message="The result of `placeholder` is not used"
|
|
errorLine1=" if (showPlaceholder) placeholder(R.drawable.avatar_default)"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/MainActivity.kt"
|
|
line="964"
|
|
column="42"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="InlinedApi"
|
|
message="Field requires API level 33 (current min is 24): `android.Manifest.permission#POST_NOTIFICATIONS`"
|
|
errorLine1=" arrayOf(Manifest.permission.POST_NOTIFICATIONS),"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/MainActivity.kt"
|
|
line="361"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="InvalidPackage"
|
|
message="Invalid package reference in org.bouncycastle:bcprov-jdk15on; not included in Android: `javax.naming.directory`. Referenced from `org.bouncycastle.jce.provider.CrlCache`.">
|
|
<location
|
|
file="$GRADLE_USER_HOME/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15on/1.70/4636a0d01f74acaf28082fb62b317f1080118371/bcprov-jdk15on-1.70.jar"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="InvalidPackage"
|
|
message="Invalid package reference in org.bouncycastle:bcprov-jdk15on; not included in Android: `javax.naming`. Referenced from `org.bouncycastle.jce.provider.X509LDAPCertStoreSpi`.">
|
|
<location
|
|
file="$GRADLE_USER_HOME/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15on/1.70/4636a0d01f74acaf28082fb62b317f1080118371/bcprov-jdk15on-1.70.jar"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="InvalidPackage"
|
|
message="Invalid package reference in org.pageseeder.diffx:pso-diffx; not included in Android: `javax.xml.stream.events`. Referenced from `org.pageseeder.diffx.load.XMLEventLoader`.">
|
|
<location
|
|
file="$GRADLE_USER_HOME/caches/modules-2/files-2.1/org.pageseeder.diffx/pso-diffx/1.1.1/b655ebc87588a857a4f3d88cf98bcefa87a6105b/pso-diffx-1.1.1.jar"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="InvalidPackage"
|
|
message="Invalid package reference in org.pageseeder.diffx:pso-diffx; not included in Android: `javax.xml.stream`. Referenced from `org.pageseeder.diffx.format.StrictXMLDiffOutput`.">
|
|
<location
|
|
file="$GRADLE_USER_HOME/caches/modules-2/files-2.1/org.pageseeder.diffx/pso-diffx/1.1.1/b655ebc87588a857a4f3d88cf98bcefa87a6105b/pso-diffx-1.1.1.jar"/>
|
|
</issue>
|
|
id="UseAppTint"
|
|
message="Must use `app:tint` instead of `android:tint`"
|
|
errorLine1=" android:tint="?android:attr/textColorTertiary""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/activity_compose.xml"
|
|
line="314"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="PluralsCandidate"
|
|
message="Formatting %d followed by words ("posts"): This should probably be a plural rather than a string"
|
|
errorLine1=" <string name="notification_summary_report_format">%s · %d posts attached</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="108"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="PluralsCandidate"
|
|
message="Formatting %d followed by words ("and"): This should probably be a plural rather than a string"
|
|
errorLine1=" <string name="pref_title_http_proxy_port_message">Port should be between %d and %d</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="324"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="PluralsCandidate"
|
|
message="Formatting %d followed by words ("others"): This should probably be a plural rather than a string"
|
|
errorLine1=" <string name="notification_summary_large">%1$s, %2$s, %3$s and %4$d others</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="382"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="PluralsCandidate"
|
|
message="Formatting %d followed by words ("more"): This should probably be a plural rather than a string"
|
|
errorLine1=" <string name="conversation_more_recipients">%1$s, %2$s and %3$d more</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="558"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="PluralsCandidate"
|
|
message="Formatting %d followed by words ("people"): This should probably be a plural rather than a string"
|
|
errorLine1=" <string name="accessibility_talking_about_tag">%1$d people are talking about hashtag %2$s</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="784"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedTranslation"
|
|
message="The language `ber (Berber languages)` is present in this project, but not declared in the `localeConfig` resource"
|
|
errorLine1=" android:localeConfig="@xml/locales_config">"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/AndroidManifest.xml"
|
|
line="21"
|
|
column="31"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedTranslation"
|
|
message="The language `el (Greek)` is present in this project, but not declared in the `localeConfig` resource"
|
|
errorLine1=" android:localeConfig="@xml/locales_config">"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/AndroidManifest.xml"
|
|
line="21"
|
|
column="31"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedTranslation"
|
|
message="The language `fi (Finnish)` is present in this project, but not declared in the `localeConfig` resource"
|
|
errorLine1=" android:localeConfig="@xml/locales_config">"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/AndroidManifest.xml"
|
|
line="21"
|
|
column="31"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedTranslation"
|
|
message="The language `fy (Western Frisian)` is present in this project, but not declared in the `localeConfig` resource"
|
|
errorLine1=" android:localeConfig="@xml/locales_config">"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/AndroidManifest.xml"
|
|
line="21"
|
|
column="31"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedTranslation"
|
|
message="The language `in (Indonesian)` is present in this project, but not declared in the `localeConfig` resource"
|
|
errorLine1=" android:localeConfig="@xml/locales_config">"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/AndroidManifest.xml"
|
|
line="21"
|
|
column="31"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedTranslation"
|
|
message="The language `lv (Latvian)` is present in this project, but not declared in the `localeConfig` resource"
|
|
errorLine1=" android:localeConfig="@xml/locales_config">"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/AndroidManifest.xml"
|
|
line="21"
|
|
column="31"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedTranslation"
|
|
message="The language `ml (Malayalam)` is present in this project, but not declared in the `localeConfig` resource"
|
|
errorLine1=" android:localeConfig="@xml/locales_config">"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/AndroidManifest.xml"
|
|
line="21"
|
|
column="31"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedTranslation"
|
|
message="The language `si (Sinhala)` is present in this project, but not declared in the `localeConfig` resource"
|
|
errorLine1=" android:localeConfig="@xml/locales_config">"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/AndroidManifest.xml"
|
|
line="21"
|
|
column="31"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedTranslation"
|
|
message="The language `sk (Slovak)` is present in this project, but not declared in the `localeConfig` resource"
|
|
errorLine1=" android:localeConfig="@xml/locales_config">"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/AndroidManifest.xml"
|
|
line="21"
|
|
column="31"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="DataExtractionRules"
|
|
message="The attribute `android:allowBackup` is deprecated from Android 12 and higher and may be removed in future versions. Consider adding the attribute `android:dataExtractionRules` specifying an `@xml` resource which configures cloud backups and device transfers on Android 12 and higher."
|
|
errorLine1=" android:allowBackup="false""
|
|
errorLine2=" ~~~~~">
|
|
<location
|
|
file="src/main/AndroidManifest.xml"
|
|
line="15"
|
|
column="30"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NotifyDataSetChanged"
|
|
message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
|
|
errorLine1=" accountFieldAdapter.notifyDataSetChanged()"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/components/account/AccountActivity.kt"
|
|
line="475"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NotifyDataSetChanged"
|
|
message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
|
|
errorLine1=" notifyDataSetChanged()"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/components/accountlist/adapter/AccountAdapter.kt"
|
|
line="80"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NotifyDataSetChanged"
|
|
message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
|
|
errorLine1=" notifyDataSetChanged()"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/AccountFieldEditAdapter.kt"
|
|
line="43"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NotifyDataSetChanged"
|
|
message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
|
|
errorLine1=" notifyDataSetChanged()"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/AccountFieldEditAdapter.kt"
|
|
line="49"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NotifyDataSetChanged"
|
|
message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
|
|
errorLine1=" notifyDataSetChanged()"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/components/announcements/AnnouncementAdapter.kt"
|
|
line="133"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NotifyDataSetChanged"
|
|
message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
|
|
errorLine1=" notifyDataSetChanged()"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/components/accountlist/adapter/MutesAdapter.kt"
|
|
line="107"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NotifyDataSetChanged"
|
|
message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
|
|
errorLine1=" notifyDataSetChanged()"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/PollAdapter.kt"
|
|
line="62"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NotifyDataSetChanged"
|
|
message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
|
|
errorLine1=" notifyDataSetChanged()"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/PollAdapter.kt"
|
|
line="62"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NotifyDataSetChanged"
|
|
message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
|
|
errorLine1=" notifyDataSetChanged()"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/PreviewPollOptionsAdapter.kt"
|
|
line="35"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NotifyDataSetChanged"
|
|
message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
|
|
errorLine1=" notifyDataSetChanged()"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/TabAdapter.kt"
|
|
line="54"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NotifyDataSetChanged"
|
|
message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort."
|
|
errorLine1=" notifyDataSetChanged()"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/TabAdapter.kt"
|
|
line="157"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ObsoleteSdkInt"
|
|
message="Unnecessary; SDK_INT is always >= 24"
|
|
errorLine1=" if (Build.VERSION.SDK_INT > 23) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/fragment/ViewVideoFragment.kt"
|
|
line="252"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ObsoleteSdkInt"
|
|
message="Unnecessary; SDK_INT is never < 24"
|
|
errorLine1=" if (Build.VERSION.SDK_INT <= 23 || player == null) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/fragment/ViewVideoFragment.kt"
|
|
line="261"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ObsoleteSdkInt"
|
|
message="Unnecessary; SDK_INT is never < 24"
|
|
errorLine1=" if (Build.VERSION.SDK_INT <= 23) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/fragment/ViewVideoFragment.kt"
|
|
line="284"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ObsoleteSdkInt"
|
|
message="Unnecessary; SDK_INT is always >= 24"
|
|
errorLine1=" if (Build.VERSION.SDK_INT > 23) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/fragment/ViewVideoFragment.kt"
|
|
line="296"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="StringFormatTrivial"
|
|
message="This formatting string is trivial. Rather than using `String.format` to create your String, it will be more performant to concatenate your arguments with `+`. "
|
|
errorLine1=" (error) -> Log.e(TAG, String.format("Failed to %s account id %s", accept ? "accept" : "reject", id))"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java"
|
|
line="806"
|
|
column="61"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="StringFormatTrivial"
|
|
message="This formatting string is trivial. Rather than using `String.format` to create your String, it will be more performant to concatenate your arguments with `+`. "
|
|
errorLine1=" LinkHelper.openLink(requireContext(), String.format("https://%s/admin/reports/%s", accountManager.getActiveAccount().getDomain(), reportId));"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java"
|
|
line="827"
|
|
column="61"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="BackButton"
|
|
message="Back buttons are not standard on Android; see design guide's navigation section"
|
|
errorLine1=" <Button"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/fragment_report_note.xml"
|
|
line="108"
|
|
column="6"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="TextFields"
|
|
message="This text field does not specify an `inputType`"
|
|
errorLine1=" <EditText"
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/dialog_filter.xml"
|
|
line="9"
|
|
column="6"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NegativeMargin"
|
|
message="Margin values should not be negative"
|
|
errorLine1=" android:layout_marginTop="-4dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/item_report_notification.xml"
|
|
line="54"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NegativeMargin"
|
|
message="Margin values should not be negative"
|
|
errorLine1=" android:layout_marginStart="-14dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/item_status.xml"
|
|
line="318"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="SmallSp"
|
|
message="Avoid using sizes smaller than `11sp`: `8sp`"
|
|
errorLine1=" android:textSize="8sp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout-land/item_trending_cell.xml"
|
|
line="42"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="SmallSp"
|
|
message="Avoid using sizes smaller than `11sp`: `8sp`"
|
|
errorLine1=" android:textSize="8sp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/item_trending_cell.xml"
|
|
line="42"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="SmallSp"
|
|
message="Avoid using sizes smaller than `11sp`: `8sp`"
|
|
errorLine1=" android:textSize="8sp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout-land/item_trending_cell.xml"
|
|
line="59"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="SmallSp"
|
|
message="Avoid using sizes smaller than `11sp`: `8sp`"
|
|
errorLine1=" android:textSize="8sp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/item_trending_cell.xml"
|
|
line="59"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="Autofill"
|
|
message="Missing `autofillHints` attribute"
|
|
errorLine1=" <EditText"
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/dialog_filter.xml"
|
|
line="9"
|
|
column="6"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ReportShortcutUsage"
|
|
message="Calling this method indicates use of dynamic shortcuts, but there are no calls to methods that track shortcut usage, such as `pushDynamicShortcut` or `reportShortcutUsed`. Calling these methods is recommended, as they track shortcut usage and allow launchers to adjust which shortcuts appear based on activation history. Please see https://developer.android.com/develop/ui/views/launch/shortcuts/managing-shortcuts#track-usage"
|
|
errorLine1=" ShortcutManagerCompat.addDynamicShortcuts(context, listOf(shortcutInfo))"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/util/ShareShortcutHelper.kt"
|
|
line="86"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ClickableViewAccessibility"
|
|
message="Custom view ``ImageView`` has `setOnTouchListener` called on it but does not override `performClick`"
|
|
errorLine1=" binding.imageView.setOnTouchListener { _, event ->"
|
|
errorLine2=" ^">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/TabAdapter.kt"
|
|
line="91"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ClickableViewAccessibility"
|
|
message="`onTouch` lambda should call `View#performClick` when a click is detected"
|
|
errorLine1=" binding.imageView.setOnTouchListener { _, event ->"
|
|
errorLine2=" ^">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/TabAdapter.kt"
|
|
line="91"
|
|
column="50"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
message="Missing `contentDescription` attribute on image"
|
|
errorLine1=" <ImageView"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/activity_account.xml"
|
|
line="31"
|
|
column="18"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
message="Missing `contentDescription` attribute on image"
|
|
errorLine1=" <ImageView"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/activity_account.xml"
|
|
line="468"
|
|
column="10"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
message="Missing `contentDescription` attribute on image"
|
|
errorLine1=" <ImageView"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/dialog_focus.xml"
|
|
line="23"
|
|
column="10"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
message="Missing `contentDescription` attribute on image"
|
|
errorLine1=" <ImageView"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/item_account_media.xml"
|
|
line="12"
|
|
column="6"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
message="Missing `contentDescription` attribute on image"
|
|
errorLine1=" <ImageView"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/item_report_notification.xml"
|
|
line="42"
|
|
column="6"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
message="Missing `contentDescription` attribute on image"
|
|
errorLine1=" <ImageView"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/item_status_notification.xml"
|
|
line="42"
|
|
column="6"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
message="Missing `contentDescription` attribute on image"
|
|
errorLine1=" <ImageView"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/item_tab_preference.xml"
|
|
line="14"
|
|
column="6"/>
|
|
</issue>
|
|
|
|
<issue
|
|
|
|
<issue
|
|
id="SetTextI18n"
|
|
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
|
|
errorLine1=" this.text = "${reaction.name} ${reaction.count}""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/components/announcements/AnnouncementAdapter.kt"
|
|
line="91"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "Filter: MyFilter", should use `@string` resource"
|
|
errorLine1=" android:text="Filter: MyFilter""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/item_status_filtered.xml"
|
|
line="18"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "Mute", should use `@string` resource"
|
|
errorLine1=" android:title="Mute""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/menu/view_hashtag_toolbar.xml"
|
|
line="22"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="HardcodedText"
|
|
message="Hardcoded string "Unmute", should use `@string` resource"
|
|
errorLine1=" android:title="Unmute""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/menu/view_hashtag_toolbar.xml"
|
|
line="29"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingStart` you should probably also define `paddingEnd` for right-to-left symmetry"
|
|
errorLine1=" android:paddingStart="8dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/activity_edit_profile.xml"
|
|
line="118"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingStart` you should probably also define `paddingEnd` for right-to-left symmetry"
|
|
errorLine1=" android:paddingStart="40dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/activity_edit_profile.xml"
|
|
line="129"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingEnd` you should probably also define `paddingStart` for right-to-left symmetry"
|
|
errorLine1=" android:paddingEnd="@dimen/status_display_name_padding_end""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/item_conversation.xml"
|
|
line="90"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingStart` you should probably also define `paddingEnd` for right-to-left symmetry"
|
|
errorLine1=" android:paddingStart="28dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/item_follow.xml"
|
|
line="22"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingStart` you should probably also define `paddingEnd` for right-to-left symmetry"
|
|
errorLine1=" android:paddingStart="28dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/item_report_notification.xml"
|
|
line="23"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingEnd` you should probably also define `paddingStart` for right-to-left symmetry"
|
|
errorLine1=" android:paddingEnd="@dimen/status_display_name_padding_end""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/item_status.xml"
|
|
line="68"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingStart` you should probably also define `paddingEnd` for right-to-left symmetry"
|
|
errorLine1=" android:paddingStart="28dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/item_status_notification.xml"
|
|
line="22"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingStart` you should probably also define `paddingEnd` for right-to-left symmetry"
|
|
errorLine1=" android:paddingStart="6dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout-land/item_trending_cell.xml"
|
|
line="38"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingStart` you should probably also define `paddingEnd` for right-to-left symmetry"
|
|
errorLine1=" android:paddingStart="6dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/item_trending_cell.xml"
|
|
line="38"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingStart` you should probably also define `paddingEnd` for right-to-left symmetry"
|
|
errorLine1=" android:paddingStart="6dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout-land/item_trending_cell.xml"
|
|
line="55"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingStart` you should probably also define `paddingEnd` for right-to-left symmetry"
|
|
errorLine1=" android:paddingStart="6dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/item_trending_cell.xml"
|
|
line="55"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingStart` you should probably also define `paddingEnd` for right-to-left symmetry"
|
|
errorLine1=" android:paddingStart="4dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/view_compose_schedule.xml"
|
|
line="21"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="RtlSymmetry"
|
|
message="When you define `paddingStart` you should probably also define `paddingEnd` for right-to-left symmetry"
|
|
errorLine1=" android:paddingStart="4dp""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/view_compose_schedule.xml"
|
|
line="38"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" void onViewAccount(String id);"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/interfaces/AccountActionListener.java"
|
|
line="19"
|
|
column="24"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" void onMute(final boolean mute, final String id, final int position, final boolean notifications);"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/interfaces/AccountActionListener.java"
|
|
line="20"
|
|
column="43"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" void onBlock(final boolean block, final String id, final int position);"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/interfaces/AccountActionListener.java"
|
|
line="21"
|
|
column="45"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" void onRespondToFollowRequest(final boolean accept, final String id, final int position);"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/interfaces/AccountActionListener.java"
|
|
line="22"
|
|
column="63"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public AccountManager accountManager;"
|
|
errorLine2=" ~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/BaseActivity.java"
|
|
line="65"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public void startActivityWithSlideInAnimation(Intent intent) {"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/BaseActivity.java"
|
|
line="167"
|
|
column="51"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public boolean onOptionsItemSelected(MenuItem item) {"
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/BaseActivity.java"
|
|
line="173"
|
|
column="42"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected void showErrorDialog(View anyView, @StringRes int descriptionId, @StringRes int actionId, View.OnClickListener listener) {"
|
|
errorLine2=" ~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/BaseActivity.java"
|
|
line="201"
|
|
column="36"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected void showErrorDialog(View anyView, @StringRes int descriptionId, @StringRes int actionId, View.OnClickListener listener) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/BaseActivity.java"
|
|
line="201"
|
|
column="105"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public void showAccountChooserDialog(CharSequence dialogTitle, boolean showActiveAccount, AccountSelectionListener listener) {"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/BaseActivity.java"
|
|
line="209"
|
|
column="42"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public void showAccountChooserDialog(CharSequence dialogTitle, boolean showActiveAccount, AccountSelectionListener listener) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/BaseActivity.java"
|
|
line="209"
|
|
column="95"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public void requestPermissions(String[] permissions, PermissionRequester requester) {"
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/BaseActivity.java"
|
|
line="276"
|
|
column="36"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public void requestPermissions(String[] permissions, PermissionRequester requester) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/BaseActivity.java"
|
|
line="276"
|
|
column="58"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public static android.app.Notification make(final Context context, NotificationManager notificationManager, Notification body, AccountEntity account, boolean isFirstOfBatch) {"
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/components/notifications/NotificationHelper.java"
|
|
line="152"
|
|
column="55"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public static android.app.Notification make(final Context context, NotificationManager notificationManager, Notification body, AccountEntity account, boolean isFirstOfBatch) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/components/notifications/NotificationHelper.java"
|
|
line="152"
|
|
column="72"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public static android.app.Notification make(final Context context, NotificationManager notificationManager, Notification body, AccountEntity account, boolean isFirstOfBatch) {"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/components/notifications/NotificationHelper.java"
|
|
line="152"
|
|
column="113"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public static android.app.Notification make(final Context context, NotificationManager notificationManager, Notification body, AccountEntity account, boolean isFirstOfBatch) {"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/components/notifications/NotificationHelper.java"
|
|
line="152"
|
|
column="132"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public static void updateSummaryNotifications(Context context, NotificationManager notificationManager, AccountEntity account) {"
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/components/notifications/NotificationHelper.java"
|
|
line="273"
|
|
column="51"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public static void updateSummaryNotifications(Context context, NotificationManager notificationManager, AccountEntity account) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/components/notifications/NotificationHelper.java"
|
|
line="273"
|
|
column="68"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public static void updateSummaryNotifications(Context context, NotificationManager notificationManager, AccountEntity account) {"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/components/notifications/NotificationHelper.java"
|
|
line="273"
|
|
column="109"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public static void enablePullNotifications(Context context) {"
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/components/notifications/NotificationHelper.java"
|
|
line="611"
|
|
column="48"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public static void disablePullNotifications(Context context) {"
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/components/notifications/NotificationHelper.java"
|
|
line="639"
|
|
column="49"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public static boolean filterNotification(NotificationManager notificationManager, AccountEntity account, @NonNull Notification notification) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/components/notifications/NotificationHelper.java"
|
|
line="655"
|
|
column="46"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public static boolean filterNotification(NotificationManager notificationManager, AccountEntity account, @NonNull Notification notification) {"
|
|
errorLine2=" ~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/components/notifications/NotificationHelper.java"
|
|
line="655"
|
|
column="87"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public abstract boolean deepEquals(NotificationViewData other);"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/viewdata/NotificationViewData.java"
|
|
line="43"
|
|
column="40"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public Concrete(Notification.Type type, String id, TimelineAccount account,"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/viewdata/NotificationViewData.java"
|
|
line="54"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public Concrete(Notification.Type type, String id, TimelineAccount account,"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/viewdata/NotificationViewData.java"
|
|
line="54"
|
|
column="49"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public Concrete(Notification.Type type, String id, TimelineAccount account,"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/viewdata/NotificationViewData.java"
|
|
line="54"
|
|
column="60"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public Notification.Type getType() {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/viewdata/NotificationViewData.java"
|
|
line="63"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public String getId() {"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/viewdata/NotificationViewData.java"
|
|
line="67"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public TimelineAccount getAccount() {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/viewdata/NotificationViewData.java"
|
|
line="71"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public boolean deepEquals(NotificationViewData o) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/viewdata/NotificationViewData.java"
|
|
line="91"
|
|
column="35"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public Concrete copyWithStatus(@Nullable StatusViewData.Concrete statusViewData) {"
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/viewdata/NotificationViewData.java"
|
|
line="108"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public boolean deepEquals(NotificationViewData other) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/viewdata/NotificationViewData.java"
|
|
line="132"
|
|
column="35"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public NotificationsAdapter(String accountId,"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java"
|
|
line="98"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" AdapterDataSource<NotificationViewData> dataSource,"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java"
|
|
line="99"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" StatusDisplayOptions statusDisplayOptions,"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java"
|
|
line="100"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" StatusActionListener statusListener,"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java"
|
|
line="101"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" NotificationActionListener notificationActionListener,"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java"
|
|
line="102"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" AccountActionListener accountActionListener) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java"
|
|
line="103"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" void onViewAccount(String id);"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java"
|
|
line="340"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" void onViewStatusForNotificationId(String notificationId);"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java"
|
|
line="342"
|
|
column="44"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" void onViewReport(String reportId);"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java"
|
|
line="344"
|
|
column="27"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public static NotificationsFragment newInstance() {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java"
|
|
line="203"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public void onMute(boolean mute, String id, int position, boolean notifications) {"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java"
|
|
line="788"
|
|
column="38"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public void onBlock(boolean block, String id, int position) {"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java"
|
|
line="793"
|
|
column="40"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public void onRespondToFollowRequest(boolean accept, String id, int position) {"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java"
|
|
line="798"
|
|
column="58"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public void onViewStatusForNotificationId(String notificationId) {"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java"
|
|
line="811"
|
|
column="47"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public void onViewReport(String reportId) {"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java"
|
|
line="826"
|
|
column="30"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" void onRequestPermissionsResult(String[] permissions, int[] grantResults);"
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/interfaces/PermissionRequester.java"
|
|
line="4"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" void onRequestPermissionsResult(String[] permissions, int[] grantResults);"
|
|
errorLine2=" ~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/interfaces/PermissionRequester.java"
|
|
line="4"
|
|
column="59"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public ProgressRequestBody(final InputStream content, long contentLength, final MediaType mediaType, final UploadCallback listener) {"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/network/ProgressRequestBody.java"
|
|
line="39"
|
|
column="38"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public ProgressRequestBody(final InputStream content, long contentLength, final MediaType mediaType, final UploadCallback listener) {"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/network/ProgressRequestBody.java"
|
|
line="39"
|
|
column="85"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public ProgressRequestBody(final InputStream content, long contentLength, final MediaType mediaType, final UploadCallback listener) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/network/ProgressRequestBody.java"
|
|
line="39"
|
|
column="112"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public MediaType contentType() {"
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/network/ProgressRequestBody.java"
|
|
line="47"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected StatusBaseViewHolder(View itemView) {"
|
|
errorLine2=" ~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="133"
|
|
column="36"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected void setDisplayName(String name, List<Emoji> customEmojis, StatusDisplayOptions statusDisplayOptions) {"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="194"
|
|
column="35"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected void setDisplayName(String name, List<Emoji> customEmojis, StatusDisplayOptions statusDisplayOptions) {"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="194"
|
|
column="48"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected void setDisplayName(String name, List<Emoji> customEmojis, StatusDisplayOptions statusDisplayOptions) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="194"
|
|
column="74"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected void setUsername(String name) {"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="201"
|
|
column="32"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" final StatusActionListener listener) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="213"
|
|
column="47"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected void setMetaData(StatusViewData.Concrete statusViewData, StatusDisplayOptions statusDisplayOptions, StatusActionListener listener) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="343"
|
|
column="32"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected void setMetaData(StatusViewData.Concrete statusViewData, StatusDisplayOptions statusDisplayOptions, StatusActionListener listener) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="343"
|
|
column="72"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected void setMetaData(StatusViewData.Concrete statusViewData, StatusDisplayOptions statusDisplayOptions, StatusActionListener listener) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="343"
|
|
column="115"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" final List<Attachment> attachments,"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="494"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" final StatusActionListener listener,"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="496"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected void setMediaLabel(List<Attachment> attachments, boolean sensitive,"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="587"
|
|
column="34"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" final StatusActionListener listener, boolean showingContent) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="588"
|
|
column="40"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected void setupButtons(final StatusActionListener listener,"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="633"
|
|
column="39"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" final String accountId,"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="634"
|
|
column="39"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" final String statusContent,"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="635"
|
|
column="39"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" StatusDisplayOptions statusDisplayOptions) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="636"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public void setupWithStatus(StatusViewData.Concrete status, final StatusActionListener listener,"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="755"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public void setupWithStatus(StatusViewData.Concrete status, final StatusActionListener listener,"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="755"
|
|
column="71"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" StatusDisplayOptions statusDisplayOptions) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="756"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected static boolean hasPreviewableAttachment(List<Attachment> attachments) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="846"
|
|
column="55"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected static CharSequence getVisibilityDescription(Context context, Status.Visibility visibility) {"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="921"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected static CharSequence getVisibilityDescription(Context context, Status.Visibility visibility) {"
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="921"
|
|
column="60"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected static CharSequence getVisibilityDescription(Context context, Status.Visibility visibility) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="921"
|
|
column="77"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected CharSequence getFavsText(Context context, int count) {"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="970"
|
|
column="15"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected CharSequence getFavsText(Context context, int count) {"
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="970"
|
|
column="40"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected CharSequence getReblogsText(Context context, int count) {"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="979"
|
|
column="15"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected CharSequence getReblogsText(Context context, int count) {"
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="979"
|
|
column="43"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" final StatusViewData.Concrete status,"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="1080"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" final CardViewMode cardViewMode,"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="1082"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" final StatusDisplayOptions statusDisplayOptions,"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="1083"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" final StatusActionListener listener"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java"
|
|
line="1084"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public StatusDetailedViewHolder(View view) {"
|
|
errorLine2=" ~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusDetailedViewHolder.java"
|
|
line="38"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected void setMetaData(StatusViewData.Concrete statusViewData, StatusDisplayOptions statusDisplayOptions, StatusActionListener listener) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusDetailedViewHolder.java"
|
|
line="46"
|
|
column="32"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected void setMetaData(StatusViewData.Concrete statusViewData, StatusDisplayOptions statusDisplayOptions, StatusActionListener listener) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusDetailedViewHolder.java"
|
|
line="46"
|
|
column="72"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" protected void setMetaData(StatusViewData.Concrete statusViewData, StatusDisplayOptions statusDisplayOptions, StatusActionListener listener) {"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusDetailedViewHolder.java"
|
|
line="46"
|
|
column="115"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnknownNullness"
|
|
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
|
|
errorLine1=" public StatusViewHolder(View itemView) {"
|
|
errorLine2=" ~~~~">
|
|
<location
|
|
file="src/main/java/com/keylesspalace/tusky/adapter/StatusViewHolder.java"
|
|
line="54"
|
|
column="29"/>
|
|
</issue>
|
|
|
|
</issues>
|