From bf741df38e31212db22d47ab87b28b0ca2ea4681 Mon Sep 17 00:00:00 2001 From: Katherine Yen Date: Thu, 31 Oct 2024 10:56:19 -0400 Subject: [PATCH] Remove unnecessary `NotNull` annotation --- .../textsecuregcm/entities/KeyTransparencySearchRequest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/KeyTransparencySearchRequest.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/KeyTransparencySearchRequest.java index 3142a7c3c..897988614 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/KeyTransparencySearchRequest.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/KeyTransparencySearchRequest.java @@ -51,7 +51,6 @@ public record KeyTransparencySearchRequest( @Schema(description = "The non-distinguished tree head size to prove consistency against.") Optional<@Positive Long> lastTreeHeadSize, - @NotNull @Schema(description = "The distinguished tree head size to prove consistency against.") @Positive long distinguishedTreeHeadSize ) {