Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ public record SimpleApiKey(String value) implements ApiKey {

/**
* Create a new SimpleApiKey.
* @param value the API key value, must not be null or empty
* @throws IllegalArgumentException if value is null or empty
* @param value the API key value, must not be null
* @throws IllegalArgumentException if value is null
*/
public SimpleApiKey(String value) {
Assert.notNull(value, "API key value must not be null or empty");
Assert.notNull(value, "API key value must not be null");
this.value = value;
}

Expand Down