Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3a4c513 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Fix Javadoc and null analysis related warnings

This CL also adds @SuppressWarning("unused" to java-overridable package.

Bug: 18003991
Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
parent 924b8fd0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package com.android.inputmethod.compat;

import android.content.pm.PackageInfo;

@SuppressWarnings("unused")
public class AppWorkaroundsHelper {
    private AppWorkaroundsHelper() {
        // This helper class is not publicly instantiable.
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ import android.content.Context;
/**
 * Helper to get the metadata URI from its base URI and the additional ID, if any.
 */
@SuppressWarnings("unused")
public class MetadataUriGetter {
    private MetadataUriGetter() {
        // This helper class is not instantiable.
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ public class LoginAccountUtils {
     * @return an array of accounts. Empty (never null) if no accounts are available for login.
     */
    @Nonnull
    @SuppressWarnings("unused")
    public static String[] getAccountsForLogin(final Context context) {
        return new String[0];
    }
+2 −1
Original line number Diff line number Diff line
@@ -24,7 +24,8 @@ public final class ProductionFlags {
    public static final boolean IS_HARDWARE_KEYBOARD_SUPPORTED = false;

    /**
     * Include all suggestions from all dictionaries in {@link SuggestedWords#mRawSuggestions}.
     * Include all suggestions from all dictionaries in
     * {@link com.android.inputmethod.latin.SuggestedWords#mRawSuggestions}.
     */
    public static final boolean INCLUDE_RAW_SUGGESTIONS = false;

+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ import android.content.Context;

import com.android.inputmethod.latin.DictionaryFacilitator;

@SuppressWarnings("unused")
public class ContextualDictionaryUpdater {
    public ContextualDictionaryUpdater(final Context context,
            final DictionaryFacilitator dictionaryFacilitator,
Loading