mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 11:46:47 +00:00
Because one shouldn't take the size of null things
This commit is contained in:
1 parent
ecfa161da8
commit
5236bd83d1
1 file changed
+1
-1
+1
-1
@@ -12,7 +12,7 @@ import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.whispersystems.textsecuregcm.util.ExactlySize;
|
||||
|
||||
public record BatchIdentityCheckRequest(@Valid @Size(max = 1000) List<Element> elements) {
|
||||
public record BatchIdentityCheckRequest(@Valid @NotNull @Size(max = 1000) List<Element> elements) {
|
||||
|
||||
/**
|
||||
* @param aci account id
|
||||
|
||||
Reference in new issue
Block a user