Skip to content

Commit 2c413a2

Browse files
committed
Polishing.
See spring-projects#934
1 parent 672029d commit 2c413a2

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/JdbcAggregateTemplateIntegrationTests.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@
3737
import java.util.function.Function;
3838
import java.util.stream.IntStream;
3939

40-
import net.bytebuddy.asm.Advice;
4140
import org.assertj.core.api.SoftAssertions;
42-
4341
import org.junit.jupiter.api.Test;
4442
import org.junit.jupiter.api.extension.ExtendWith;
4543
import org.springframework.beans.factory.annotation.Autowired;
@@ -312,7 +310,7 @@ public void saveAndDeleteAllWithReferencedEntity() {
312310
}
313311

314312
@Test // DATAJDBC-112
315-
@EnabledOnFeature({SUPPORTS_QUOTED_IDS, SUPPORTS_GENERATED_IDS_IN_REFERENCED_ENTITIES})
313+
@EnabledOnFeature({ SUPPORTS_QUOTED_IDS, SUPPORTS_GENERATED_IDS_IN_REFERENCED_ENTITIES })
316314
public void updateReferencedEntityFromNull() {
317315

318316
legoSet.setManual(null);
@@ -851,7 +849,6 @@ public void saveAndLoadDateTimeWithMicrosecondPrecision() {
851849
assertThat(loaded.testTime).isEqualTo(entity.testTime);
852850
}
853851

854-
855852
private <T extends Number> void saveAndUpdateAggregateWithVersion(VersionedAggregate aggregate,
856853
Function<Number, T> toConcreteNumber) {
857854
saveAndUpdateAggregateWithVersion(aggregate, toConcreteNumber, 0);
@@ -1199,10 +1196,9 @@ void setVersion(Number newVersion) {
11991196
}
12001197

12011198
@Table
1202-
static class WithLocalDateTime{
1199+
static class WithLocalDateTime {
12031200

1204-
@Id
1205-
Long id;
1201+
@Id Long id;
12061202
LocalDateTime testTime;
12071203
}
12081204

0 commit comments

Comments
 (0)