Skip to content

Commit 144ad72

Browse files
committed
Polishing.
1 parent 75c9af5 commit 144ad72

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/java/org/springframework/data/jpa/repository/support/JpaRepositoryTests.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import javax.persistence.EntityManager;
2626
import javax.persistence.PersistenceContext;
2727

28-
import org.jetbrains.annotations.NotNull;
2928
import org.junit.jupiter.api.BeforeEach;
3029
import org.junit.jupiter.api.Test;
3130
import org.junit.jupiter.api.extension.ExtendWith;
@@ -126,7 +125,8 @@ void deleteAllByIdInBatch() {
126125
repository.saveAll(Arrays.asList(one, two, three));
127126
repository.flush();
128127

129-
repository.deleteAllByIdInBatch(Arrays.asList(new SampleEntityPK("one", "eins"),new SampleEntityPK("three", "drei")));
128+
repository
129+
.deleteAllByIdInBatch(Arrays.asList(new SampleEntityPK("one", "eins"), new SampleEntityPK("three", "drei")));
130130
assertThat(repository.findAll()).containsExactly(two);
131131
}
132132

@@ -148,7 +148,6 @@ void deleteAllByIdInBatchShouldConvertAnIterableToACollection() {
148148
private List<SampleEntityPK> ids = Arrays.asList(new SampleEntityPK("one", "eins"),
149149
new SampleEntityPK("three", "drei"));
150150

151-
@NotNull
152151
@Override
153152
public Iterator<SampleEntityPK> iterator() {
154153
return ids.iterator();

0 commit comments

Comments
 (0)