Skip to content

Commit 30d76dd

Browse files
authored
[Common] Style fixes (#7398)
Apply some java style & lang fixes to the `HeartBeatInfoStorageTest.java` file
1 parent 9d3da9b commit 30d76dd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

firebase-common/src/test/java/com/google/firebase/heartbeatinfo/HeartBeatInfoStorageTest.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@
3535
@RunWith(AndroidJUnit4.class)
3636
public class HeartBeatInfoStorageTest {
3737
private final Preferences.Key<Long> testSdk = PreferencesKeys.longKey("testSdk");
38-
private final Preferences.Key<Long> GLOBAL = PreferencesKeys.longKey("fire-global");
38+
private static final Preferences.Key<Long> GLOBAL = PreferencesKeys.longKey("fire-global");
3939
private static final int HEART_BEAT_COUNT_LIMIT = 30;
40-
private static Context applicationContext = ApplicationProvider.getApplicationContext();
41-
private static JavaDataStorage heartBeatDataStore =
40+
private static final Context applicationContext = ApplicationProvider.getApplicationContext();
41+
private static final JavaDataStorage heartBeatDataStore =
4242
new JavaDataStorage(applicationContext, "testHeartBeat");
43-
private HeartBeatInfoStorage heartBeatInfoStorage = new HeartBeatInfoStorage(heartBeatDataStore);
43+
private final HeartBeatInfoStorage heartBeatInfoStorage =
44+
new HeartBeatInfoStorage(heartBeatDataStore);
4445

4546
@Before
4647
public void setUp() {

0 commit comments

Comments
 (0)