Skip to content

Commit 692853a

Browse files
committed
spotless apply something that somehow slipped through
1 parent 05757a7 commit 692853a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/src/test/java/dev/morphia/test/lifecycle/TestLifecycles.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package dev.morphia.test.lifecycle;
22

3-
import java.lang.annotation.Annotation;
43
import java.time.LocalDateTime;
54
import java.time.Month;
65
import java.util.Calendar;
@@ -276,7 +275,7 @@ public boolean hasAnnotation(Class type) {
276275
public void prePersist(@NotNull Object ent, @NotNull Document document, @NotNull Datastore datastore) {
277276
DatastoreImpl ds = (DatastoreImpl) datastore;
278277
final List<PropertyModel> fieldsToTest = ds.getMapper().getEntityModel(ent.getClass())
279-
.getProperties(NonNull.class);
278+
.getProperties(NonNull.class);
280279
for (PropertyModel mf : fieldsToTest) {
281280
if (mf.getValue(ent) == null) {
282281
throw new NonNullValidationException(mf);

0 commit comments

Comments
 (0)