Skip to content

Commit 8b83a78

Browse files
authored
Change getHost annotation to match setHost. (#938)
* Change getHost annotation to match setHost.
1 parent b932f74 commit 8b83a78

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

firebase-firestore/src/main/java/com/google/firebase/firestore/FirebaseFirestoreSettings.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public Builder setCacheSizeBytes(long value) {
146146
}
147147

148148
/** @return the host of the Cloud Firestore backend. */
149-
@Nullable
149+
@NonNull
150150
public String getHost() {
151151
return host;
152152
}
@@ -156,9 +156,7 @@ public boolean isSslEnabled() {
156156
return sslEnabled;
157157
}
158158

159-
/**
160-
* @return boolean indicating whether local persistent storage is enabled or not.
161-
*/
159+
/** @return boolean indicating whether local persistent storage is enabled or not. */
162160
public boolean isPersistenceEnabled() {
163161
return persistenceEnabled;
164162
}

0 commit comments

Comments
 (0)