Browse Source

Revise `ClassUtils` and `ReflectionUtils`.

We deprecated `ClassUtils` in the repo.utils package and introduced a slimmer variant in o.s.d.util. Also, ReflectionUtils hosts now several methods that have been in ClassUtils along with an improved method naming (find vs. get in combination with return value semantics).

CastUtils is deprecated as we do not widely use it.
Mark Paluch 1 year ago
parent
commit
7caefb35a2
No known key found for this signature in database
GPG Key ID: 55BC6374BAA9D973
  1. 1
      src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java

1
src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java

@ -701,6 +701,7 @@ public abstract class RepositoryFactorySupport @@ -701,6 +701,7 @@ public abstract class RepositoryFactorySupport
try {
return composition.invoke(invocationMulticaster, method, arguments);
} catch (Exception ex) {
if (ex instanceof InvocationTargetException) {
throw ((InvocationTargetException) ex).getTargetException();
}

Loading…
Cancel
Save