commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1128604 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/BeanPropertySetterRule.java
Date Sat, 28 May 2011 11:31:57 GMT
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



Mime
View raw message