diff --git a/core/src/main/java/com/google/common/truth/Truth.java b/core/src/main/java/com/google/common/truth/Truth.java index 837a7f20b..5754b8df6 100644 --- a/core/src/main/java/com/google/common/truth/Truth.java +++ b/core/src/main/java/com/google/common/truth/Truth.java @@ -265,7 +265,7 @@ public static TableSubject assertThat(@Nullable Table actual) { "Java7ApiChecker", // no more dangerous than wherever the user got the Optional "NullableOptional", // Truth always accepts nulls, no matter the type }) - public static OptionalSubject assertThat(@Nullable Optional actual) { + public static OptionalSubject assertThat(@Nullable Optional actual) { return assert_().that(actual); } @@ -297,7 +297,7 @@ public static OptionalDoubleSubject assertThat(@Nullable OptionalDouble actual) * @since 1.4.0 (present in {@link Truth8} since before 1.0) */ @SuppressWarnings("Java7ApiChecker") // no more dangerous than wherever the user got the Stream - public static StreamSubject assertThat(@Nullable Stream actual) { + public static StreamSubject assertThat(@Nullable Stream actual) { return assert_().that(actual); }