geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r769097 - in /geronimo/sandbox/blueprint/blueprint-sample/src/main/java/org/apache/geronimo/blueprint/sample: Bar.java Foo.java
Date Mon, 27 Apr 2009 18:40:04 GMT
Author: dwoods
Date: Mon Apr 27 18:40:03 2009
New Revision: 769097

URL: http://svn.apache.org/viewvc?rev=769097&view=rev
Log:
add missing setters.  Jarek, thanks for pointing it out.

Modified:
    geronimo/sandbox/blueprint/blueprint-sample/src/main/java/org/apache/geronimo/blueprint/sample/Bar.java
    geronimo/sandbox/blueprint/blueprint-sample/src/main/java/org/apache/geronimo/blueprint/sample/Foo.java

Modified: geronimo/sandbox/blueprint/blueprint-sample/src/main/java/org/apache/geronimo/blueprint/sample/Bar.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/blueprint/blueprint-sample/src/main/java/org/apache/geronimo/blueprint/sample/Bar.java?rev=769097&r1=769096&r2=769097&view=diff
==============================================================================
--- geronimo/sandbox/blueprint/blueprint-sample/src/main/java/org/apache/geronimo/blueprint/sample/Bar.java
(original)
+++ geronimo/sandbox/blueprint/blueprint-sample/src/main/java/org/apache/geronimo/blueprint/sample/Bar.java
Mon Apr 27 18:40:03 2009
@@ -30,14 +30,26 @@
         return context;
     }
 
+    public void setContext(BundleContext ctx) {
+        context = ctx;
+    }
+
     public String getValue() {
         return value;
     }
 
+    public void setValue(String s) {
+        value = s;
+    }
+
     public List getList() {
         return list;
     }
 
+    public void setList(List l) {
+        list = l;
+    }
+
     public String toString() {
         return hashCode() + ": " + value + " " + context + " " + list;
     }

Modified: geronimo/sandbox/blueprint/blueprint-sample/src/main/java/org/apache/geronimo/blueprint/sample/Foo.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/blueprint/blueprint-sample/src/main/java/org/apache/geronimo/blueprint/sample/Foo.java?rev=769097&r1=769096&r2=769097&view=diff
==============================================================================
--- geronimo/sandbox/blueprint/blueprint-sample/src/main/java/org/apache/geronimo/blueprint/sample/Foo.java
(original)
+++ geronimo/sandbox/blueprint/blueprint-sample/src/main/java/org/apache/geronimo/blueprint/sample/Foo.java
Mon Apr 27 18:40:03 2009
@@ -35,22 +35,42 @@
         return a;
     }
 
+    public void setA(int i) {
+        a = i;
+    }
+
     public int getB() {
         return b;
     }
 
+    public void setB(int i) {
+        b = i;
+    }
+
     public Bar getBar() {
         return bar;
     }
 
+    public void setBar(Bar b) {
+        bar = b;
+    }
+
     public Currency getCurrency() {
         return currency;
     }
 
+    public void getCurrency(Currency c) {
+        currency = c;
+    }
+
     public Date getDate() {
         return date;
     }
 
+    public void getDate(Date d) {
+        date = d;
+    }
+
     public String toString() {
         return a + " " + b + " " + bar + " " + currency + " " + date;
     }



Mime
View raw message