DATACMNS-1089 - Prepare upgrade to AssertJ 3.8.
Fully qualify call to ClassTypeInformation.from(…) as AssertJ 3.8 introduces a method that results in ambiguity in the static imports for from(null).
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
package org.springframework.data.util;
|
||||
|
||||
import static org.assertj.core.api.Assertions.*;
|
||||
import static org.springframework.data.util.ClassTypeInformation.*;
|
||||
import static org.springframework.data.util.ClassTypeInformation.from;
|
||||
|
||||
import javaslang.collection.Traversable;
|
||||
|
||||
@@ -294,7 +294,7 @@ public class ClassTypeInformationUnitTests {
|
||||
|
||||
@Test(expected = IllegalArgumentException.class) // DATACMNS-387
|
||||
public void rejectsNullClass() {
|
||||
from(null);
|
||||
ClassTypeInformation.from(null);
|
||||
}
|
||||
|
||||
@Test // DATACMNS-422
|
||||
|
||||
Reference in New Issue
Block a user