Browse Source

DATACMNS-1074 - Removed reference to JDK 8 method.

Method.isDefault() is JDK 8 API. Replaced by our JDK 6 equivalent in ReflectionUtils.

Original pull request: #221.
pull/227/head
Oliver Gierke 9 years ago
parent
commit
738ff9c8d3
  1. 2
      src/main/java/org/springframework/data/projection/DefaultMethodInvokingMethodInterceptor.java

2
src/main/java/org/springframework/data/projection/DefaultMethodInvokingMethodInterceptor.java

@ -52,7 +52,7 @@ public class DefaultMethodInvokingMethodInterceptor implements MethodInterceptor @@ -52,7 +52,7 @@ public class DefaultMethodInvokingMethodInterceptor implements MethodInterceptor
Method method = invocation.getMethod();
if (!method.isDefault()) {
if (!org.springframework.data.util.ReflectionUtils.isDefaultMethod(method)) {
return invocation.proceed();
}

Loading…
Cancel
Save