cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkossakow...@apache.org
Subject svn commit: r516695 - /cocoon/trunk/tools/archetypes/cocoon-22-archetype-block/src/main/resources/archetype-resources/src/main/java/demo/MyBean.java
Date Sat, 10 Mar 2007 12:37:12 GMT
Author: gkossakowski
Date: Sat Mar 10 04:37:11 2007
New Revision: 516695

URL: http://svn.apache.org/viewvc?view=rev&rev=516695
Log:
Making message field private to ensure that getter and setter methods are used while accessing
it.

Modified:
    cocoon/trunk/tools/archetypes/cocoon-22-archetype-block/src/main/resources/archetype-resources/src/main/java/demo/MyBean.java

Modified: cocoon/trunk/tools/archetypes/cocoon-22-archetype-block/src/main/resources/archetype-resources/src/main/java/demo/MyBean.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/tools/archetypes/cocoon-22-archetype-block/src/main/resources/archetype-resources/src/main/java/demo/MyBean.java?view=diff&rev=516695&r1=516694&r2=516695
==============================================================================
--- cocoon/trunk/tools/archetypes/cocoon-22-archetype-block/src/main/resources/archetype-resources/src/main/java/demo/MyBean.java
(original)
+++ cocoon/trunk/tools/archetypes/cocoon-22-archetype-block/src/main/resources/archetype-resources/src/main/java/demo/MyBean.java
Sat Mar 10 04:37:11 2007
@@ -18,7 +18,7 @@
 
 public class MyBean {
     
-    public String message = "This is a message coming from a Spring bean.";
+    private String message = "This is a message coming from a Spring bean.";
 
     public void setMessage(String message) {
         this.message = message;



Mime
View raw message