You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DATACMNS-466 - More aggressive checks for the correct Spring version.
We now actively check that the a method in a Spring class we rely on to be public actually is public and throw an exception pointing to the offending JAR in an exception that's thrown otherwise.
privatestaticfinalStringMETHOD_NOT_PUBLIC = "AnnotationConfigUtils.processCommonDefinitionAnnotations(…) is not public! Make sure you're using Spring 3.2.5 or better. The class was loaded from %s.";
48
+
47
49
privatebooleanconsiderNestedRepositoryInterfaces;
48
50
49
51
/**
@@ -57,6 +59,8 @@ public RepositoryComponentProvider(Iterable<? extends TypeFilter> includeFilters
57
59
58
60
super(false);
59
61
62
+
assertRequiredSpringVersionPresent();
63
+
60
64
Assert.notNull(includeFilters);
61
65
62
66
if (includeFilters.iterator().hasNext()) {
@@ -142,6 +146,20 @@ public void setConsiderNestedRepositoryInterfaces(boolean considerNestedReposito
0 commit comments