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 2011/01/30 14:52:29 UTC
svn commit: r1065273 -
/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/BeanPropertySetterRule.java
Author: simonetripodi
Date: Sun Jan 30 13:52:29 2011
New Revision: 1065273
URL: http://svn.apache.org/viewvc?rev=1065273&view=rev
Log:
default values will be managed in the builders
Modified:
commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/BeanPropertySetterRule.java
Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/BeanPropertySetterRule.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/BeanPropertySetterRule.java?rev=1065273&r1=1065272&r2=1065273&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/BeanPropertySetterRule.java (original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/BeanPropertySetterRule.java Sun Jan 30 13:52:29 2011
@@ -42,7 +42,7 @@ public class BeanPropertySetterRule exte
/**
* Set this property on the top object.
*/
- private final String propertyName;
+ private final String propertyName; // @Nullable
/**
* The body text used to set the property.
@@ -50,16 +50,6 @@ public class BeanPropertySetterRule exte
private String bodyText = null;
/**
- * <p>Construct rule that automatically sets a property from the body text.
- *
- * <p> This construct creates a rule that sets the property
- * on the top object named the same as the current element.
- */
- public BeanPropertySetterRule() {
- this(null);
- }
-
- /**
* <p>Construct rule that sets the given property from the body text.</p>
*
* @param propertyName name of property to set