diff --git a/src/test/java/org/springframework/data/jpa/repository/support/JpaRepositoryTests.java b/src/test/java/org/springframework/data/jpa/repository/support/JpaRepositoryTests.java index cecfc60d1..9ac41ff66 100644 --- a/src/test/java/org/springframework/data/jpa/repository/support/JpaRepositoryTests.java +++ b/src/test/java/org/springframework/data/jpa/repository/support/JpaRepositoryTests.java @@ -25,7 +25,6 @@ import java.util.Optional; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; -import org.jetbrains.annotations.NotNull; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; @@ -126,7 +125,8 @@ class JpaRepositoryTests { repository.saveAll(Arrays.asList(one, two, three)); repository.flush(); - repository.deleteAllByIdInBatch(Arrays.asList(new SampleEntityPK("one", "eins"),new SampleEntityPK("three", "drei"))); + repository + .deleteAllByIdInBatch(Arrays.asList(new SampleEntityPK("one", "eins"), new SampleEntityPK("three", "drei"))); assertThat(repository.findAll()).containsExactly(two); } @@ -148,7 +148,6 @@ class JpaRepositoryTests { private List ids = Arrays.asList(new SampleEntityPK("one", "eins"), new SampleEntityPK("three", "drei")); - @NotNull @Override public Iterator iterator() { return ids.iterator();