@@ -76,7 +76,7 @@ public class LocalDatastoreHelper extends BaseEmulatorHelper<DatastoreOptions> {
7676 private static final double DEFAULT_CONSISTENCY = 0.9 ;
7777 private static final String DEFAULT_PROJECT_ID = PROJECT_ID_PREFIX + UUID .randomUUID ();
7878 private static final String FIRESTORE_IN_DATASTORE_MODE_FLAG =
79- "--use-firestore-in-datastore-mode" ;
79+ "--use-firestore-in-datastore-mode" ;
8080
8181 private static final Logger LOGGER = Logger .getLogger (LocalDatastoreHelper .class .getName ());
8282
@@ -141,6 +141,7 @@ public Builder setStoreOnDisk(boolean storeOnDisk) {
141141 this .storeOnDisk = storeOnDisk ;
142142 return this ;
143143 }
144+
144145 public Builder setFirestoreInDatastoreMode (boolean firestoreInDatastoreMode ) {
145146 this .firestoreInDatastoreMode = firestoreInDatastoreMode ;
146147 return this ;
@@ -187,7 +188,7 @@ private LocalDatastoreHelper(Builder builder) {
187188 List <String > binCommand = new ArrayList <>(Arrays .asList (binName , "start" ));
188189 binCommand .add ("--testing" );
189190 if (builder .firestoreInDatastoreMode ) {
190- binCommand .add (FIRESTORE_IN_DATASTORE_MODE_FLAG );
191+ binCommand .add (FIRESTORE_IN_DATASTORE_MODE_FLAG );
191192 } else {
192193 // At most one of --consistency | --use-firestore-in-datastore-mode can be specified.
193194 // --consistency will be ignored with --use-firestore-in-datastore-mode.
@@ -257,7 +258,9 @@ public boolean isStoreOnDisk() {
257258 return storeOnDisk ;
258259 }
259260
260- /** Returns {@code true} use firestore-in-datastore-mode, otherwise {@code false} use native mode. */
261+ /**
262+ * Returns {@code true} use firestore-in-datastore-mode, otherwise {@code false} use native mode.
263+ */
261264 public boolean isFirestoreInDatastoreMode () {
262265 return firestoreInDatastoreMode ;
263266 }
0 commit comments