HHH-3870 - Fix checkstyle errors

This commit is contained in:
Andrea Boriero 2017-09-21 16:20:04 +01:00
parent ca368f85a6
commit 5566b423e3
1 changed files with 4 additions and 4 deletions

View File

@ -36,10 +36,10 @@ public class JavassistProxyFactory implements ProxyFactory, Serializable {
private static final MethodFilter EXCLUDE_FILTER = m -> {
// skip finalize methods and Groovy getMetaClass
return !(
m.getParameterCount() == 0 && m.getName().equals( "finalize" ) || (
m.getName().equals( "getMetaClass" ) &&
m.getReturnType().getName().equals( "groovy.lang.MetaClass" )
)
m.getParameterCount() == 0 && m.getName().equals( "finalize" ) || (
m.getName().equals( "getMetaClass" ) &&
m.getReturnType().getName().equals( "groovy.lang.MetaClass" )
)
);
};