File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
firebase-common/src/test/java/com/google/firebase/heartbeatinfo Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 35
35
@ RunWith (AndroidJUnit4 .class )
36
36
public class HeartBeatInfoStorageTest {
37
37
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" );
39
39
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 =
42
42
new JavaDataStorage (applicationContext , "testHeartBeat" );
43
- private HeartBeatInfoStorage heartBeatInfoStorage = new HeartBeatInfoStorage (heartBeatDataStore );
43
+ private final HeartBeatInfoStorage heartBeatInfoStorage =
44
+ new HeartBeatInfoStorage (heartBeatDataStore );
44
45
45
46
@ Before
46
47
public void setUp () {
You can’t perform that action at this time.
0 commit comments