Remove javax nullability annotations.

Original Pull Request #2342
Closes #2340
This commit is contained in:
Peter-Josef Meisch 2022-10-22 16:07:03 +02:00 committed by GitHub
parent e67150a55b
commit 883741e9c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 6 deletions

View File

@ -15,9 +15,9 @@
*/
package org.springframework.data.elasticsearch;
import java.util.List;
import org.springframework.lang.Nullable;
import javax.annotation.Nullable;
import java.util.List;
/**
* Object describing an Elasticsearch error
@ -26,7 +26,8 @@ import javax.annotation.Nullable;
* @since 4.4
*/
public class ElasticsearchErrorCause {
@Nullable private final String type;
@Nullable
private final String type;
private final String reason;

View File

@ -22,8 +22,6 @@ import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors;
import javax.annotation.Nonnull;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
@ -140,7 +138,7 @@ public abstract class SearchAsYouTypeIntegrationTests {
@Document(indexName = "#{@indexNameProvider.indexName()}")
static class SearchAsYouTypeEntity {
public SearchAsYouTypeEntity(@Nonnull String id) {
public SearchAsYouTypeEntity(String id) {
this.id = id;
}