Skip to content

Commit 64798e9

Browse files
committed
Remove unused vars and revert tests
1 parent fe13390 commit 64798e9

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

firebase-config/src/main/java/com/google/firebase/remoteconfig/internal/ConfigFetchHandler.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@ public class ConfigFetchHandler {
8787

8888
/** Custom Http header key to identify the fetch type. */
8989
private static final String X_FIREBASE_RC_FETCH_TYPE = "X-Firebase-RC-Fetch-Type";
90-
/** Fetch identifier for Realtime. */
91-
private static final String REALTIME_FETCH_TYPE = "Realtime";
92-
/** Fetch identifier for Base. */
93-
private static final String BASE_FETCH_TYPE = "Base";
9490

9591
private final FirebaseInstallationsApi firebaseInstallations;
9692
private final Provider<AnalyticsConnector> analyticsConnector;

firebase-config/src/test/java/com/google/firebase/remoteconfig/internal/ConfigFetchHandlerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ private void setBackendResponseToNoChange(Date date) throws Exception {
794794
/* customHeaders= */ any(),
795795
/* firstOpenTime= */ any(),
796796
/* currentTime= */ any()))
797-
.thenReturn(FetchResponse.forBackendHasNoUpdates(date, firstFetchedContainer));
797+
.thenReturn(FetchResponse.forBackendHasNoUpdates(date, firstFetchedContainer));
798798
}
799799

800800
private void fetchCallToBackendThrowsException(int httpErrorCode) throws Exception {

0 commit comments

Comments
 (0)