Skip to content

Commit 183ca91

Browse files
committed
fix(firebase-perf): Format
1 parent 27aee2f commit 183ca91

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

firebase-perf/src/main/java/com/google/firebase/perf/config/ConfigResolver.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,9 @@ private boolean getIsSdkEnabled() {
234234

235235
Boolean newValue = rcValue.get();
236236
// b. Only cache and return this value if it is different from the current value.
237-
if (deviceCacheValue == null || !deviceCacheValue.isAvailable() || deviceCacheValue.get() != newValue) {
237+
if (deviceCacheValue == null
238+
|| !deviceCacheValue.isAvailable()
239+
|| deviceCacheValue.get() != newValue) {
238240
deviceCacheManager.setValue(config.getDeviceCacheFlag(), newValue);
239241
}
240242

@@ -270,7 +272,9 @@ private boolean getIsSdkVersionDisabled() {
270272
// Do not check FRC last fetch status because it is the most recent value device can get.
271273
String newValue = rcValue.get();
272274
// Only cache and return this value if it is different from the current value.
273-
if (deviceCacheValue == null || !deviceCacheValue.isAvailable() || !deviceCacheValue.get().equals(newValue)) {
275+
if (deviceCacheValue == null
276+
|| !deviceCacheValue.isAvailable()
277+
|| !deviceCacheValue.get().equals(newValue)) {
274278
deviceCacheManager.setValue(config.getDeviceCacheFlag(), newValue);
275279
}
276280
return isFireperfSdkVersionInList(newValue);

0 commit comments

Comments
 (0)