Skip to content

Commit

Permalink
Avoid annotation on Object wildcard bound
Browse files Browse the repository at this point in the history
  • Loading branch information
wmdietl committed Dec 17, 2024
1 parent 75a3cf4 commit 56bb9db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java.base/share/classes/java/util/Properties.java
Original file line number Diff line number Diff line change
Expand Up @@ -1515,7 +1515,7 @@ public synchronized Object computeIfAbsent(Object key,

@Override
public synchronized @Nullable Object compute(Object key,
BiFunction<? super Object, ? super Object, ? extends @Nullable Object> remappingFunction) {
BiFunction<? super Object, ? super Object, ?> remappingFunction) {
return map.compute(key, remappingFunction);
}

Expand Down

0 comments on commit 56bb9db

Please sign in to comment.