Skip to content

Commit

Permalink
Remove unnecessary nullness suppression.
Browse files Browse the repository at this point in the history
RELNOTES=n/a
PiperOrigin-RevId: 580677563
  • Loading branch information
cpovirk authored and Google Java Core Libraries committed Nov 8, 2023
1 parent 3841f13 commit 17ebbfe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/src/main/java/com/google/common/truth/Platform.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ static void cleanStackTrace(Throwable throwable) {
* the value passed to {@code assertThat} or {@code that}, as distinct from any later actual
* values produced by chaining calls like {@code hasMessageThat}.
*/
// Checker complains that first invoke argument is null.
@SuppressWarnings("argument.type.incompatible")
static @Nullable String inferDescription() {
if (isInferDescriptionDisabled()) {
return null;
Expand Down

0 comments on commit 17ebbfe

Please sign in to comment.