Skip to content

Commit 3016467

Browse files
committed
Remove fromApp and use the constructor directly
1 parent cc5108a commit 3016467

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/main/java/com/google/firebase/remoteconfig/FirebaseRemoteConfig.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,10 @@ FirebaseRemoteConfigClient getRemoteConfigClient() {
105105
return remoteConfigClient;
106106
}
107107

108-
private static FirebaseRemoteConfig fromApp(final FirebaseApp app) {
109-
return new FirebaseRemoteConfig(app);
110-
}
111-
112108
private static class FirebaseRemoteConfigService extends FirebaseService<FirebaseRemoteConfig> {
113109

114110
FirebaseRemoteConfigService(FirebaseApp app) {
115-
super(SERVICE_ID, FirebaseRemoteConfig.fromApp(app));
111+
super(SERVICE_ID, new FirebaseRemoteConfig(app));
116112
}
117113

118114
@Override

0 commit comments

Comments
 (0)