Skip to content

Commit 0d4687b

Browse files
committed
Fix return type of Builder.set
1 parent e67be1e commit 0d4687b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ public MemoryLruGcSettings build() {
3030
return new MemoryLruGcSettings(sizeBytes);
3131
}
3232

33-
public void setSizeBytes(long size) {
33+
@NonNull
34+
public Builder setSizeBytes(long size) {
3435
sizeBytes = size;
36+
return this;
3537
}
3638
}
3739

0 commit comments

Comments
 (0)