File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
firebase-common/src/main/java/com/google/firebase Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ public class FirebaseApp {
112
112
private final ComponentRuntime componentRuntime ;
113
113
114
114
private final AtomicBoolean emulatorSettingsFrozen = new AtomicBoolean (false );
115
- private EmulatorSettings emulatorSettings = EmulatorSettings .getDefault () ;
115
+ private EmulatorSettings emulatorSettings = EmulatorSettings .DEFAULT ;
116
116
117
117
// Default disabled. We released Firebase publicly without this feature, so making it default
118
118
// enabled is a backwards incompatible change.
Original file line number Diff line number Diff line change 33
33
public final class EmulatorSettings {
34
34
35
35
/** Empty emulator settings to be used as an internal default */
36
- public static EmulatorSettings getDefault () {
37
- return new EmulatorSettings .Builder ().build ();
38
- }
36
+ public static final EmulatorSettings DEFAULT = new EmulatorSettings .Builder ().build ();
39
37
40
38
public static final class Builder {
41
39
Original file line number Diff line number Diff line change 28
28
*/
29
29
public final class FirebaseEmulator {
30
30
31
- public final String name ;
31
+ private final String name ;
32
32
33
33
/**
34
34
* Only to be called by SDKs which support emulators in order to make constants.
@@ -43,4 +43,8 @@ public static FirebaseEmulator forName(String name) {
43
43
private FirebaseEmulator (String name ) {
44
44
this .name = name ;
45
45
}
46
+
47
+ public String getName () {
48
+ return name ;
49
+ }
46
50
}
You can’t perform that action at this time.
0 commit comments