tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlmonte...@apache.org
Subject svn commit: r1565598 - /tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/bval/BeanValidationAppendixInterceptor.java
Date Fri, 07 Feb 2014 09:38:40 GMT
Author: jlmonteiro
Date: Fri Feb  7 09:38:39 2014
New Revision: 1565598

URL: http://svn.apache.org/r1565598
Log:
Don't go into that BeanValidationAppendixInterceptor when BVal 1.1 available cause already
available out of the box

Modified:
    tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/bval/BeanValidationAppendixInterceptor.java

Modified: tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/bval/BeanValidationAppendixInterceptor.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/bval/BeanValidationAppendixInterceptor.java?rev=1565598&r1=1565597&r2=1565598&view=diff
==============================================================================
--- tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/bval/BeanValidationAppendixInterceptor.java
(original)
+++ tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/bval/BeanValidationAppendixInterceptor.java
Fri Feb  7 09:38:39 2014
@@ -66,6 +66,8 @@ public class BeanValidationAppendixInter
 
     @AroundInvoke
     public Object aroundInvoke(final InvocationContext ejbContext) throws Exception {
+        if (!ON) return ejbContext.proceed();
+
         Object validatorObject = null;
         Validator validator = null;
         try {



Mime
View raw message