| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="5" by="lint 4.2.0-alpha06" client="gradle" variant="debug" version="4.2.0-alpha06"> |
| |
| <issue |
| id="BanSynchronizedMethods" |
| message="Use of synchronized methods is not recommended" |
| errorLine1=" static synchronized Config get() {" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/Config.java" |
| line="65" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="BanSynchronizedMethods" |
| message="Use of synchronized methods is not recommended" |
| errorLine1=" static synchronized void load(final Context context) {" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/EmojiRepo.java" |
| line="40" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 21, the call containing class com.example.android.support.text.emoji.ConfigLayout is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)." |
| errorLine1=" super(context, attrs, defStyleAttr, defStyleRes);" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/ConfigLayout.java" |
| line="58" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="EmojiCompat.reset can only be called from within the same library group prefix (referenced groupId=`androidx.emoji` with prefix androidx from groupId=`androidx`)" |
| errorLine1=" EmojiCompat.reset(config);" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/Config.java" |
| line="134" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="VisibleForTests" |
| message="This method should only be accessed from tests or within private scope" |
| errorLine1=" EmojiCompat.reset(config);" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/Config.java" |
| line="134" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` method `read` of class `EmojiRepo` requires synthetic accessor" |
| errorLine1=" read(context);" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/EmojiRepo.java" |
| line="45" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` member of class `ViewHolder` requires synthetic accessor" |
| errorLine1=" holder = new ViewHolder();" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/ListFragment.java" |
| line="75" |
| column="26"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` method `init` of class `MainFragment` requires synthetic accessor" |
| errorLine1=" init();" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/MainFragment.java" |
| line="50" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mRegularTextView` of class `MainFragment` requires synthetic accessor" |
| errorLine1=" mRegularTextView.setText(" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/MainFragment.java" |
| line="108" |
| 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=" public ConfigLayout(Context context) {" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/ConfigLayout.java" |
| line="38" |
| 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 ConfigLayout(Context context, AttributeSet attrs) {" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/ConfigLayout.java" |
| line="43" |
| 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 ConfigLayout(Context context, AttributeSet attrs) {" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/ConfigLayout.java" |
| line="43" |
| column="42"/> |
| </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 ConfigLayout(Context context, AttributeSet attrs," |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/ConfigLayout.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 ConfigLayout(Context context, AttributeSet attrs," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/ConfigLayout.java" |
| line="49" |
| column="42"/> |
| </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 ConfigLayout(Context context, AttributeSet attrs," |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/ConfigLayout.java" |
| line="56" |
| 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 ConfigLayout(Context context, AttributeSet attrs," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/ConfigLayout.java" |
| line="56" |
| column="42"/> |
| </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 CustomTextView(Context context) {" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/CustomTextView.java" |
| line="38" |
| 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 CustomTextView(Context context, @Nullable AttributeSet attrs) {" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/CustomTextView.java" |
| line="42" |
| 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 CustomTextView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/CustomTextView.java" |
| line="46" |
| 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 void setFilters(InputFilter[] filters) {" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/CustomTextView.java" |
| line="52" |
| 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 View onCreateView(LayoutInflater inflater, ViewGroup container," |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/ListFragment.java" |
| line="47" |
| 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 View onCreateView(LayoutInflater inflater, ViewGroup container," |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/ListFragment.java" |
| line="47" |
| column="30"/> |
| </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 View onCreateView(LayoutInflater inflater, ViewGroup container," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/ListFragment.java" |
| line="47" |
| column="55"/> |
| </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=" Bundle savedInstanceState) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/ListFragment.java" |
| line="48" |
| column="13"/> |
| </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=" protected void onCreate(Bundle savedInstanceState) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/MainActivity.java" |
| line="29" |
| 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 View onCreateView(LayoutInflater inflater, ViewGroup container," |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/MainFragment.java" |
| line="60" |
| 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 View onCreateView(LayoutInflater inflater, ViewGroup container," |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/MainFragment.java" |
| line="60" |
| column="30"/> |
| </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 View onCreateView(LayoutInflater inflater, ViewGroup container," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/MainFragment.java" |
| line="60" |
| column="55"/> |
| </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=" Bundle savedInstanceState) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/text/emoji/MainFragment.java" |
| line="61" |
| column="13"/> |
| </issue> |
| |
| </issues> |