From 4058f99383e4b1f804ccb6227b1277fa975b85b7 Mon Sep 17 00:00:00 2001 From: Madhura Bhave Date: Fri, 25 Oct 2019 16:29:23 -0700 Subject: [PATCH] Fix import --- .../boot/context/properties/bind/ValueObjectBinderTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/ValueObjectBinderTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/ValueObjectBinderTests.java index 2eb46837a0..ef4c67b42e 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/ValueObjectBinderTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/ValueObjectBinderTests.java @@ -21,13 +21,13 @@ import java.util.ArrayList; import java.util.List; import java.util.Objects; -import com.atomikos.util.Assert; import org.junit.jupiter.api.Test; import org.springframework.boot.context.properties.source.ConfigurationPropertyName; import org.springframework.boot.context.properties.source.ConfigurationPropertySource; import org.springframework.boot.context.properties.source.MockConfigurationPropertySource; import org.springframework.format.annotation.DateTimeFormat; +import org.springframework.util.Assert; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatExceptionOfType; @@ -436,7 +436,7 @@ class ValueObjectBinderTests { private final String bar; ValidatingConstructorBean(String foo, String bar) { - Assert.notNull("Foo must not be null", foo); + Assert.notNull(foo, "Foo must not be null"); this.foo = foo; this.bar = bar; }