Skip to content

Commit 2c72146

Browse files
cgdeckerGoogle Java Core Libraries
authored andcommitted
Add a couple missing @CIRV annotations.
RELNOTES=n/a PiperOrigin-RevId: 466056991
1 parent 0136f80 commit 2c72146

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

guava/src/com/google/common/collect/HashBiMap.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ public V forcePut(@ParametricNullness K key, @ParametricNullness V value) {
333333
return put(key, value, true);
334334
}
335335

336+
@CanIgnoreReturnValue
336337
@CheckForNull
337338
private K putInverse(@ParametricNullness V value, @ParametricNullness K key, boolean force) {
338339
int valueHash = smearedHash(value);

guava/src/com/google/common/collect/ImmutableSet.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ public Builder<E> addAll(Iterator<? extends E> elements) {
555555
return this;
556556
}
557557

558+
@CanIgnoreReturnValue
558559
Builder<E> combine(Builder<E> other) {
559560
requireNonNull(impl);
560561
requireNonNull(other.impl);

0 commit comments

Comments
 (0)