bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1592413 - in /bval/branches/bval-11/bval-jsr/src: main/java/org/apache/bval/jsr/JsrMetaBeanFactory.java test/java/org/apache/bval/jsr/ValidationTest.java
Date Sun, 04 May 2014 19:55:10 GMT
Author: rmannibucau
Date: Sun May  4 19:55:10 2014
New Revision: 1592413

URL: http://svn.apache.org/r1592413
Log:
BVAL-129 thanks Liam Miller-Cushon to have fixed synthetix method behavior

Modified:
    bval/branches/bval-11/bval-jsr/src/main/java/org/apache/bval/jsr/JsrMetaBeanFactory.java
    bval/branches/bval-11/bval-jsr/src/test/java/org/apache/bval/jsr/ValidationTest.java

Modified: bval/branches/bval-11/bval-jsr/src/main/java/org/apache/bval/jsr/JsrMetaBeanFactory.java
URL: http://svn.apache.org/viewvc/bval/branches/bval-11/bval-jsr/src/main/java/org/apache/bval/jsr/JsrMetaBeanFactory.java?rev=1592413&r1=1592412&r2=1592413&view=diff
==============================================================================
--- bval/branches/bval-11/bval-jsr/src/main/java/org/apache/bval/jsr/JsrMetaBeanFactory.java
(original)
+++ bval/branches/bval-11/bval-jsr/src/main/java/org/apache/bval/jsr/JsrMetaBeanFactory.java
Sun May  4 19:55:10 2014
@@ -149,6 +149,9 @@ public class JsrMetaBeanFactory implemen
         }
         final Method[] methods = Reflection.INSTANCE.getDeclaredMethods(beanClass);
         for (final Method method : methods) {
+            if (method.isSynthetic() || method.isBridge()) {
+                continue;
+            }
             String propName = null;
             if (method.getParameterTypes().length == 0) {
                 propName = MethodAccess.getPropertyName(method);

Modified: bval/branches/bval-11/bval-jsr/src/test/java/org/apache/bval/jsr/ValidationTest.java
URL: http://svn.apache.org/viewvc/bval/branches/bval-11/bval-jsr/src/test/java/org/apache/bval/jsr/ValidationTest.java?rev=1592413&r1=1592412&r2=1592413&view=diff
==============================================================================
--- bval/branches/bval-11/bval-jsr/src/test/java/org/apache/bval/jsr/ValidationTest.java (original)
+++ bval/branches/bval-11/bval-jsr/src/test/java/org/apache/bval/jsr/ValidationTest.java Sun
May  4 19:55:10 2014
@@ -723,6 +723,6 @@ public class ValidationTest extends Test
     }
     
     private static class TestCloneableClass implements Cloneable {
-    	
+
     }
 }



Mime
View raw message