Bug 1369900 - Part 2: Mark constant field with static keyword. r?Grisha draft
authorJing-wei Wu <topwu.tw@gmail.com>
Wed, 14 Jun 2017 15:41:19 +0800
changeset 593874 a8e3a3997cac50fa06b8f267feeb2f7b756415cb
parent 593873 1f3cb4dadd3d7b8a3d9de981ab746621e1d881a0
child 633247 ade0a8b12880e4c5435cbe78860a14b562e5d52e
push id63845
push userbmo:topwu.tw@gmail.com
push dateWed, 14 Jun 2017 08:02:56 +0000
reviewersGrisha
bugs1369900
milestone56.0a1
Bug 1369900 - Part 2: Mark constant field with static keyword. r?Grisha MozReview-Commit-ID: DRicwedLt8B
mobile/android/tests/background/junit4/src/org/mozilla/gecko/db/LocalBrowserDBTest.java
--- a/mobile/android/tests/background/junit4/src/org/mozilla/gecko/db/LocalBrowserDBTest.java
+++ b/mobile/android/tests/background/junit4/src/org/mozilla/gecko/db/LocalBrowserDBTest.java
@@ -30,24 +30,23 @@ import static org.junit.Assert.assertEqu
 import static org.junit.Assert.assertNotEquals;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertNull;
 import static org.junit.Assert.assertTrue;
 
 @RunWith(TestRunner.class)
 public class LocalBrowserDBTest {
     private static final long INVALID_ID = -1;
-    private final String BOOKMARK_URL = "https://www.mozilla.org";
-    private final String BOOKMARK_TITLE = "mozilla";
-    private final String BOOKMARK_GUID = "guid1";
+    private static final String BOOKMARK_URL = "https://www.mozilla.org";
+    private static final String BOOKMARK_TITLE = "mozilla";
 
-    private final String UPDATE_URL = "https://bugzilla.mozilla.org";
-    private final String UPDATE_TITLE = "bugzilla";
+    private static final String UPDATE_URL = "https://bugzilla.mozilla.org";
+    private static final String UPDATE_TITLE = "bugzilla";
 
-    private final String FOLDER_NAME = "folder1";
+    private static final String FOLDER_NAME = "folder1";
 
     private Context context;
     private BrowserProvider provider;
     private ContentProviderClient bookmarkClient;
 
     @Before
     public void setUp() throws Exception {
         context = RuntimeEnvironment.application;