Browse Source

Cleaning up lint

master
anthony restaino 8 years ago
parent
commit
8a66a3f188
  1. 2
      app/src/main/java/acr/browser/lightning/dialog/LightningDialogBuilder.java
  2. 2
      app/src/main/java/acr/browser/lightning/fragment/BookmarksFragment.java
  3. 4
      app/src/main/java/acr/browser/lightning/fragment/TabsFragment.java
  4. 2
      app/src/main/java/acr/browser/lightning/search/SuggestionsAdapter.java
  5. 2
      app/src/main/res/layout/tab_list_item.xml
  6. 2
      app/src/main/res/layout/tab_list_item_horizontal.xml
  7. 1
      app/src/main/res/values-nl/strings.xml
  8. 1
      app/src/main/res/values-pt-rBR/strings.xml

2
app/src/main/java/acr/browser/lightning/dialog/LightningDialogBuilder.java

@ -45,7 +45,7 @@ import acr.browser.lightning.utils.Utils; @@ -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.
*/
public class LightningDialogBuilder {
public static final String TAG = "LightningDialogBuilder";
private static final String TAG = "LightningDialogBuilder";
public enum NewTab {
FOREGROUND,

2
app/src/main/java/acr/browser/lightning/fragment/BookmarksFragment.java

@ -67,7 +67,7 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener, @@ -67,7 +67,7 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
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
@Inject BookmarkModel mBookmarkManager;

4
app/src/main/java/acr/browser/lightning/fragment/TabsFragment.java

@ -76,8 +76,8 @@ public class TabsFragment extends Fragment implements View.OnClickListener, View @@ -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
* If true, the fragment is in the left drawner in the strip otherwise.
*/
public static final String VERTICAL_MODE = TAG + ".VERTICAL_MODE";
public static final String IS_INCOGNITO = TAG + ".IS_INCOGNITO";
private static final String VERTICAL_MODE = TAG + ".VERTICAL_MODE";
private static final String IS_INCOGNITO = TAG + ".IS_INCOGNITO";
private boolean mIsIncognito, mDarkTheme;
private int mIconColor;

2
app/src/main/java/acr/browser/lightning/search/SuggestionsAdapter.java

@ -49,7 +49,7 @@ public class SuggestionsAdapter extends BaseAdapter implements Filterable { @@ -49,7 +49,7 @@ public class SuggestionsAdapter extends BaseAdapter implements Filterable {
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);

2
app/src/main/res/layout/tab_list_item.xml

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

2
app/src/main/res/layout/tab_list_item_horizontal.xml

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

1
app/src/main/res/values-nl/strings.xml

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

1
app/src/main/res/values-pt-rBR/strings.xml

@ -131,7 +131,6 @@ @@ -131,7 +131,6 @@
<string name="title_sign_in">Iniciar sessão</string>
<string name="hint_username">Usuário</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="http_proxy">Proxy HTTP</string>
<string-array name="proxy_choices_array">

Loading…
Cancel
Save