mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-13 15:42:20 +00:00
Remove javax nullability annotations.
Original Pull Request #2342 Closes #2340
This commit is contained in:
parent
e67150a55b
commit
883741e9c1
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user