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/05/28 13:31:57 UTC
svn commit: r1128604 -
/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/BeanPropertySetterRule.java
Author: simonetripodi
Date: Sat May 28 11:31:57 2011
New Revision: 1128604
URL: http://svn.apache.org/viewvc?rev=1128604&view=rev
Log:
reduced bodyText field visibility, added proper getter (has to be accessed in read-only mode)
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=1128604&r1=1128603&r2=1128604&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 Sat May 28 11:31:57 2011
@@ -81,7 +81,7 @@ public class BeanPropertySetterRule
/**
* The body text used to set the property.
*/
- protected String bodyText = null;
+ private String bodyText = null;
// --------------------------------------------------------- Public Methods
@@ -96,6 +96,16 @@ public class BeanPropertySetterRule
}
/**
+ * Returns the body text used to set the property.
+ *
+ * @return The body text used to set the property
+ */
+ protected String getBodyText()
+ {
+ return bodyText;
+ }
+
+ /**
* {@inheritDoc}
*/
@Override