Cleaning up lint

This commit is contained in:
anthony restaino 2017-06-04 18:52:56 -04:00
parent 7f0e5f563d
commit 8a66a3f188
8 changed files with 7 additions and 9 deletions

View File

@ -45,7 +45,7 @@ import acr.browser.lightning.utils.Utils;
* Created by Stefano Pacifici on 02/09/15, based on Anthony C. Restaino's code. * Created by Stefano Pacifici on 02/09/15, based on Anthony C. Restaino's code.
*/ */
public class LightningDialogBuilder { public class LightningDialogBuilder {
public static final String TAG = "LightningDialogBuilder"; private static final String TAG = "LightningDialogBuilder";
public enum NewTab { public enum NewTab {
FOREGROUND, FOREGROUND,

View File

@ -67,7 +67,7 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
private static final String TAG = "BookmarksFragment"; private static final String TAG = "BookmarksFragment";
public final static String INCOGNITO_MODE = TAG + ".INCOGNITO_MODE"; private final static String INCOGNITO_MODE = TAG + ".INCOGNITO_MODE";
// Managers // Managers
@Inject BookmarkModel mBookmarkManager; @Inject BookmarkModel mBookmarkManager;

View File

@ -76,8 +76,8 @@ public class TabsFragment extends Fragment implements View.OnClickListener, View
* Arguments boolean to tell the fragment it is displayed in the drawner or on the tab strip * Arguments boolean to tell the fragment it is displayed in the drawner or on the tab strip
* If true, the fragment is in the left drawner in the strip otherwise. * If true, the fragment is in the left drawner in the strip otherwise.
*/ */
public static final String VERTICAL_MODE = TAG + ".VERTICAL_MODE"; private static final String VERTICAL_MODE = TAG + ".VERTICAL_MODE";
public static final String IS_INCOGNITO = TAG + ".IS_INCOGNITO"; private static final String IS_INCOGNITO = TAG + ".IS_INCOGNITO";
private boolean mIsIncognito, mDarkTheme; private boolean mIsIncognito, mDarkTheme;
private int mIconColor; private int mIconColor;

View File

@ -49,7 +49,7 @@ public class SuggestionsAdapter extends BaseAdapter implements Filterable {
private static final Scheduler FILTER_SCHEDULER = Schedulers.newSingleThreadedScheduler(); private static final Scheduler FILTER_SCHEDULER = Schedulers.newSingleThreadedScheduler();
static final String CACHE_FILE_TYPE = ".sgg"; private static final String CACHE_FILE_TYPE = ".sgg";
private final List<HistoryItem> mFilteredList = new ArrayList<>(5); private final List<HistoryItem> mFilteredList = new ArrayList<>(5);

View File

@ -48,7 +48,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:contentDescription="Delete Tab" android:contentDescription="@string/close_tab"
app:srcCompat="@drawable/ic_action_delete"/> app:srcCompat="@drawable/ic_action_delete"/>
</FrameLayout> </FrameLayout>
</LinearLayout> </LinearLayout>

View File

@ -47,7 +47,7 @@
android:layout_width="20dp" android:layout_width="20dp"
android:layout_height="20dp" android:layout_height="20dp"
android:layout_gravity="center" android:layout_gravity="center"
android:contentDescription="Delete Tab" android:contentDescription="@string/close_tab"
app:srcCompat="@drawable/ic_action_delete"/> app:srcCompat="@drawable/ic_action_delete"/>
</FrameLayout> </FrameLayout>

View File

@ -144,7 +144,6 @@
<string name="title_sign_in">Inloggen</string> <string name="title_sign_in">Inloggen</string>
<string name="hint_username">Gebruiksnaam</string> <string name="hint_username">Gebruiksnaam</string>
<string name="hint_password">Paswoord</string> <string name="hint_password">Paswoord</string>
<string name="google_suggestions">Zoeksuggesties</string>
<string name="powered_by_google">Ondersteund door Google</string> <string name="powered_by_google">Ondersteund door Google</string>
<string name="http_proxy">HTTP Proxy</string> <string name="http_proxy">HTTP Proxy</string>
<string-array name="proxy_choices_array"> <string-array name="proxy_choices_array">

View File

@ -131,7 +131,6 @@
<string name="title_sign_in">Iniciar sessão</string> <string name="title_sign_in">Iniciar sessão</string>
<string name="hint_username">Usuário</string> <string name="hint_username">Usuário</string>
<string name="hint_password">Senha</string> <string name="hint_password">Senha</string>
<string name="google_suggestions">Sugestões de pesquisa</string>
<string name="powered_by_google">Disponibilizado por Google</string> <string name="powered_by_google">Disponibilizado por Google</string>
<string name="http_proxy">Proxy HTTP</string> <string name="http_proxy">Proxy HTTP</string>
<string-array name="proxy_choices_array"> <string-array name="proxy_choices_array">