incubator-bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1066671 - /incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/jsr303/dynamic/DynamicMetaGraphManagerImpl.java
Date Wed, 02 Feb 2011 22:44:56 GMT
Author: mbenson
Date: Wed Feb  2 22:44:56 2011
New Revision: 1066671

URL: http://svn.apache.org/viewvc?rev=1066671&view=rev
Log:
remove unnecessary restoration of state of an object only used locally :P

Modified:
    incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/jsr303/dynamic/DynamicMetaGraphManagerImpl.java

Modified: incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/jsr303/dynamic/DynamicMetaGraphManagerImpl.java
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/jsr303/dynamic/DynamicMetaGraphManagerImpl.java?rev=1066671&r1=1066670&r2=1066671&view=diff
==============================================================================
--- incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/jsr303/dynamic/DynamicMetaGraphManagerImpl.java
(original)
+++ incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/jsr303/dynamic/DynamicMetaGraphManagerImpl.java
Wed Feb  2 22:44:56 2011
@@ -347,8 +347,6 @@ final class DynamicMetaGraphManagerImpl 
                         ((MetaBean) result).putProperty(propertyName, prop);
                         prop.setType(findType.type);
 
-                        // replace the propertyName, but I doubt it matters
-                        path.addNode(new NodeImpl(propertyName));
                         MetaBean metaBean = getMetaBean(prop.getTypeClass());
                         prop.setMetaBean(metaBean);
                     }



Mime
View raw message