commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1441783 - in /commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2: BeanAccessor.java DefaultBeanAccessor.java NullBeanAccessor.java
Date Sat, 02 Feb 2013 18:13:59 GMT
Author: britter
Date: Sat Feb  2 18:13:59 2013
New Revision: 1441783

URL: http://svn.apache.org/viewvc?rev=1441783&view=rev
Log:
BeanAccessor.setMapped should return a MappedPropertySetterAccessor rather than an IndexedPropertySetterAccessor

Modified:
    commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanAccessor.java
    commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultBeanAccessor.java
    commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/NullBeanAccessor.java

Modified: commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanAccessor.java
URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanAccessor.java?rev=1441783&r1=1441782&r2=1441783&view=diff
==============================================================================
--- commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanAccessor.java
(original)
+++ commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanAccessor.java
Sat Feb  2 18:13:59 2013
@@ -43,7 +43,7 @@ public interface BeanAccessor<B>
 
     IndexedPropertySetterAccessor<B> setIndexed( String propertyName );
 
-    IndexedPropertySetterAccessor<B> setMapped( String propertyName );
+    MappedPropertySetterAccessor<B> setMapped( String propertyName );
 
     // clone
 

Modified: commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultBeanAccessor.java
URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultBeanAccessor.java?rev=1441783&r1=1441782&r2=1441783&view=diff
==============================================================================
--- commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultBeanAccessor.java
(original)
+++ commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultBeanAccessor.java
Sat Feb  2 18:13:59 2013
@@ -175,7 +175,7 @@ final class DefaultBeanAccessor<B>
     /**
      * {@inheritDoc}
      */
-    public IndexedPropertySetterAccessor<B> setMapped( String propertyName )
+    public MappedPropertySetterAccessor<B> setMapped( String propertyName )
     {
         // TODO
         return null;

Modified: commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/NullBeanAccessor.java
URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/NullBeanAccessor.java?rev=1441783&r1=1441782&r2=1441783&view=diff
==============================================================================
--- commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/NullBeanAccessor.java
(original)
+++ commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/NullBeanAccessor.java
Sat Feb  2 18:13:59 2013
@@ -92,7 +92,7 @@ final class NullBeanAccessor<B>
     /**
      * {@inheritDoc}
      */
-    public IndexedPropertySetterAccessor<B> setMapped( String propertyName )
+    public MappedPropertySetterAccessor<B> setMapped( String propertyName )
     {
         throw new NullPointerException( errorMessage );
     }



Mime
View raw message