Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ikhoon committed Feb 20, 2025
1 parent 97735e1 commit 9c357a6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,5 @@
@TypeQualifierNickname
@Nonnull(when = When.MAYBE)
@Retention(RetentionPolicy.RUNTIME)
@Target({
ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER,
ElementType.TYPE_USE, ElementType.TYPE_PARAMETER
})
@Target({ ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER, ElementType.TYPE_USE })
public @interface Nullable {}
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ final class RampingUpLoadBalancer<T> implements UpdatableLoadBalancer<T> {
@Override
public T pick() {
final SimpleLoadBalancer<Weighted> loadBalancer = weightedRandomLoadBalancer;
@SuppressWarnings("NullAway")
final Weighted weighted = loadBalancer.pick();
if (weighted == null) {
return null;
Expand Down

0 comments on commit 9c357a6

Please sign in to comment.