You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2012/02/05 00:27:54 UTC

svn commit: r1240642 - /commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultBeanAccessor.java

Author: simonetripodi
Date: Sat Feb  4 23:27:50 2012
New Revision: 1240642

URL: http://svn.apache.org/viewvc?rev=1240642&view=rev
Log:
minor comments

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

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=1240642&r1=1240641&r2=1240642&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  4 23:27:50 2012
@@ -41,6 +41,8 @@ final class DefaultBeanAccessor<B>
         this.bean = bean;
     }
 
+    // set
+
     /**
      * {@inheritDoc}
      */
@@ -61,25 +63,37 @@ final class DefaultBeanAccessor<B>
         return new DefaultBeanAccessor<Object>( newBean );
     }
 
+    /**
+     * {@inheritDoc}
+     */
     public IndexedPropertyGetterAccessor getIndexedProperty( String name )
         throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
     {
-        // TODO Auto-generated method stub
+        // TODO
         return null;
     }
 
+    /**
+     * {@inheritDoc}
+     */
     public MappedPropertyGetterAccessor getMappedProperty( String name )
         throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
     {
-        // TODO Auto-generated method stub
+        // TODO
         return null;
     }
 
+    /**
+     * {@inheritDoc}
+     */
     public B get()
     {
         return bean;
     }
 
+    /**
+     * {@inheritDoc}
+     */
     public <V> V cast()
     {
         @SuppressWarnings( "unchecked" )
@@ -87,6 +101,11 @@ final class DefaultBeanAccessor<B>
         return returned;
     }
 
+    // set
+
+    /**
+     * {@inheritDoc}
+     */
     public BeanPropertySetter<B> setProperty( String name )
         throws IllegalAccessException, IntrospectionException, InvocationTargetException, NoSuchMethodException
     {
@@ -102,6 +121,9 @@ final class DefaultBeanAccessor<B>
         return new DefaultBeanPropertySetter<B>( bean, propertyDescriptor.getWriteMethod() );
     }
 
+    /**
+     * {@inheritDoc}
+     */
     public IndexedPropertySetterAccessor<B> setIndexedProperty( String name )
         throws IllegalAccessException, IntrospectionException, InvocationTargetException, NoSuchMethodException
     {
@@ -109,6 +131,9 @@ final class DefaultBeanAccessor<B>
         return null;
     }
 
+    /**
+     * {@inheritDoc}
+     */
     public IndexedPropertySetterAccessor<B> setMappedProperty( String name )
         throws IllegalAccessException, IntrospectionException, InvocationTargetException, NoSuchMethodException
     {
@@ -116,17 +141,23 @@ final class DefaultBeanAccessor<B>
         return null;
     }
 
+    /**
+     * {@inheritDoc}
+     */
     public B cloneBean()
         throws IllegalAccessException, InstantiationException, InvocationTargetException, NoSuchMethodException
     {
-        // TODO Auto-generated method stub
+        // TODO
         return null;
     }
 
+    /**
+     * {@inheritDoc}
+     */
     public <T extends B> void copyPropertiesTo( T target )
         throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
     {
-        // TODO Auto-generated method stub
+        // TODO
 
     }
 
@@ -150,9 +181,12 @@ final class DefaultBeanAccessor<B>
         return result;
     }
 
+    /**
+     * {@inheritDoc}
+     */
     public void populate( Map<String, Object> properties )
     {
-        // TODO Auto-generated method stub
+        // TODO
     }
 
     /**