arminw 2005/08/12 05:13:37
Modified: src/java/org/apache/ojb/odmg/collections Tag:
OJB_1_0_RELEASE DMapImpl.java
src/test/org/apache/ojb/odmg/shared Tag: OJB_1_0_RELEASE
ProductGroup.java
Log:
fixes needed to run test-suite with TLCache and 'foreProxy' setting
Revision Changes Path
No revision
No revision
1.21.2.4 +4 -4
db-ojb/src/java/org/apache/ojb/odmg/collections/DMapImpl.java
Index: DMapImpl.java
===================================================================
RCS file:
/home/cvs/db-ojb/src/java/org/apache/ojb/odmg/collections/DMapImpl.java,v
retrieving revision 1.21.2.3
retrieving revision 1.21.2.4
diff -u -r1.21.2.3 -r1.21.2.4
--- DMapImpl.java 4 Jun 2005 14:38:13 -0000 1.21.2.3
+++ DMapImpl.java 12 Aug 2005 12:13:37 -0000 1.21.2.4
@@ -46,7 +46,7 @@
private transient Logger log;
private Integer id;
- private ManageableHashSet entries;
+ private Set entries;
private PBKey pbKey;
/**
@@ -210,9 +210,9 @@
/**
* Gets the entries.
- * @return Returns a ManageableHashSet
+ * @return Returns a Set
*/
- public ManageableHashSet getEntries()
+ public Set getEntries()
{
return entries;
}
No revision
No revision
1.1.2.1 +4 -3
db-ojb/src/test/org/apache/ojb/odmg/shared/ProductGroup.java
Index: ProductGroup.java
===================================================================
RCS file:
/home/cvs/db-ojb/src/test/org/apache/ojb/odmg/shared/ProductGroup.java,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -r1.1 -r1.1.2.1
--- ProductGroup.java 22 Jun 2004 18:16:22 -0000 1.1
+++ ProductGroup.java 12 Aug 2005 12:13:37 -0000 1.1.2.1
@@ -2,6 +2,7 @@
import java.io.Serializable;
import java.util.Vector;
+import java.util.List;
/** represents a product group containing a set of Articles.
* @see org.apache.ojb.odmg.shared.Article
@@ -44,7 +45,7 @@
}
/** collection containing all articles of a given product group*/
- private Vector allArticlesInGroup;
+ private List allArticlesInGroup;
/** a textual description of the group*/
private String description;
/** the unique id of a product group*/
@@ -114,9 +115,9 @@
}
/**
* Gets the allArticlesInGroup.
- * @return Returns a Vector
+ * @return Returns a List
*/
- public Vector getAllArticlesInGroup()
+ public List getAllArticlesInGroup()
{
return allArticlesInGroup;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]