Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
akulk022 committed Jan 30, 2024
1 parent bc0edd1 commit 2dd0ca6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
11 changes: 0 additions & 11 deletions nullaway/src/main/java/com/uber/nullaway/LibraryModels.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,17 +123,6 @@ default ImmutableSetMultimap<String, Integer> typeVariablesWithNullableUpperBoun
return ImmutableSetMultimap.of();
}

/**
* Get the (className, generic type argument) pairs for library Classes where the generic type
* argument has a Nullable upper bound.
*
* @return map from the className to the position of the generic type argument that has a Nullable
* upper bound.
*/
default ImmutableSetMultimap<String, Integer> typeVariablesWithNullableUpperBounds() {
return ImmutableSetMultimap.of();
}

/**
* Get the set of library classes that are NullMarked.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ Integer castToNonNullArgumentPositionsForMethod(
* @return boolean true if the variable should be treated as having a {@code @Nullable} upper
* bound
*/
boolean onOverrideTypeParameterUpperBound(String className, int arg);
boolean onOverrideTypeParameterUpperBound(String className, int index);

/**
* Called to get the library models for which a particular class is NullMarked.
Expand Down

0 comments on commit 2dd0ca6

Please sign in to comment.