db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r371082 - in /db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker: CollectionTest.java CollectionTest2.java
Date Sat, 21 Jan 2006 16:41:29 GMT
Author: arminw
Date: Sat Jan 21 08:41:24 2006
New Revision: 371082

URL: http://svn.apache.org/viewcvs?rev=371082&view=rev
Log:
fix setter/getter

Modified:
    db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/CollectionTest.java
    db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/CollectionTest2.java

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/CollectionTest.java
URL: http://svn.apache.org/viewcvs/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/CollectionTest.java?rev=371082&r1=371081&r2=371082&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/CollectionTest.java (original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/CollectionTest.java Sat
Jan 21 08:41:24 2006
@@ -1756,7 +1756,7 @@
             return shelf;
         }
 
-        public void setShelf(BookShelf shelf)
+        public void setShelf(BookShelfIF shelf)
         {
             this.shelf = shelf;
         }

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/CollectionTest2.java
URL: http://svn.apache.org/viewcvs/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/CollectionTest2.java?rev=371082&r1=371081&r2=371082&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/CollectionTest2.java (original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/CollectionTest2.java Sat
Jan 21 08:41:24 2006
@@ -1007,24 +1007,24 @@
             this.name = name;
         }
 
-        private Collection getDevelopers()
+        public List getSubProjects()
         {
-            return developers;
+            return subProjects;
         }
 
-        private void setDevelopers(Collection developers)
+        public void setSubProjects(List subProjects)
         {
-            this.developers = developers;
+            this.subProjects = subProjects;
         }
 
-        private List getSubProjects()
+        public Collection getDevelopers()
         {
-            return subProjects;
+            return developers;
         }
 
-        private void setSubProjects(List subProjects)
+        public void setDevelopers(Collection developers)
         {
-            this.subProjects = subProjects;
+            this.developers = developers;
         }
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message