Skip to content

Commit ea2b5d1

Browse files
committed
google java format
1 parent 2ba2248 commit ea2b5d1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

firebase-installations/src/main/java/com/google/firebase/installations/remote/FirebaseInstallationServiceClient.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,9 +435,11 @@ private HttpURLConnection openHttpURLConnection(URL url, String apiKey)
435435
httpURLConnection.addRequestProperty(CACHE_CONTROL_HEADER_KEY, CACHE_CONTROL_DIRECTIVE);
436436
httpURLConnection.addRequestProperty(X_ANDROID_PACKAGE_HEADER_KEY, context.getPackageName());
437437
if ((heartbeatInfo.get() != null) && (userAgentPublisher.get() != null)) {
438-
HeartBeat heartbeat = heartbeatInfo.get().getHeartBeatCode(FIREBASE_INSTALLATIONS_ID_HEARTBEAT_TAG);
438+
HeartBeat heartbeat =
439+
heartbeatInfo.get().getHeartBeatCode(FIREBASE_INSTALLATIONS_ID_HEARTBEAT_TAG);
439440
if (heartbeat != HeartBeat.NONE) {
440-
httpURLConnection.addRequestProperty(USER_AGENT_HEADER, userAgentPublisher.get().getUserAgent());
441+
httpURLConnection.addRequestProperty(
442+
USER_AGENT_HEADER, userAgentPublisher.get().getUserAgent());
441443
httpURLConnection.addRequestProperty(
442444
HEART_BEAT_HEADER, Integer.toString(heartbeat.getCode()));
443445
}

0 commit comments

Comments
 (0)