";
- public static final String END = "";
+ private static final String END = "";
@Inject
BookmarkManager manager;
diff --git a/app/src/main/java/acr/browser/lightning/constant/StartPage.java b/app/src/main/java/acr/browser/lightning/constant/StartPage.java
index 118696f..35b5453 100644
--- a/app/src/main/java/acr/browser/lightning/constant/StartPage.java
+++ b/app/src/main/java/acr/browser/lightning/constant/StartPage.java
@@ -16,9 +16,9 @@ import acr.browser.lightning.utils.Utils;
public class StartPage {
- public static final String FILENAME = "homepage.html";
+ private static final String FILENAME = "homepage.html";
- public static final String HEAD = ""
+ private static final String HEAD = ""
+ ""
+ ""
+ ""
@@ -41,11 +41,11 @@ public class StartPage {
+ "font-size: 12px;-moz-border-radius: 2px;-webkit-border-radius: 2px;"
+ "border-radius: 2px;}
";
+ private static final String END = "\" + document.getElementById(\"search_input\").value;document.getElementById(\"search_input\").value = \"\";}return false;}";
/**
* This method builds the homepage and returns the local URL to be loaded
diff --git a/app/src/main/java/acr/browser/lightning/utils/DownloadImageTask.java b/app/src/main/java/acr/browser/lightning/utils/DownloadImageTask.java
index 3d1eecc..918fdee 100644
--- a/app/src/main/java/acr/browser/lightning/utils/DownloadImageTask.java
+++ b/app/src/main/java/acr/browser/lightning/utils/DownloadImageTask.java
@@ -23,11 +23,11 @@ import acr.browser.lightning.database.HistoryItem;
*/
public class DownloadImageTask extends AsyncTask {
- final ImageView bmImage;
- final HistoryItem mWeb;
- final File mCacheDir;
- final String mUrl;
- final Bitmap mDefaultBitmap;
+ private final ImageView bmImage;
+ private final HistoryItem mWeb;
+ private final File mCacheDir;
+ private final String mUrl;
+ private final Bitmap mDefaultBitmap;
public DownloadImageTask(@NonNull ImageView bmImage, @NonNull HistoryItem web,
@NonNull Bitmap defaultBitmap) {
diff --git a/app/src/main/java/acr/browser/lightning/utils/UrlUtils.java b/app/src/main/java/acr/browser/lightning/utils/UrlUtils.java
index 80a0227..1cb5b9b 100644
--- a/app/src/main/java/acr/browser/lightning/utils/UrlUtils.java
+++ b/app/src/main/java/acr/browser/lightning/utils/UrlUtils.java
@@ -25,7 +25,7 @@ import java.util.regex.Pattern;
* Utility methods for Url manipulation
*/
public class UrlUtils {
- static final Pattern ACCEPTED_URI_SCHEMA = Pattern.compile(
+ private static final Pattern ACCEPTED_URI_SCHEMA = Pattern.compile(
"(?i)" + // switch on case insensitive matching
'(' + // begin group for schema
"(?:http|https|file):\\/\\/" +