db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcai...@apache.org
Subject svn commit: r569534 - in /db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc: company/Project.java companyAnnotatedFC/FCAppProject.java companyAnnotatedPC/PCDSProject.java
Date Fri, 24 Aug 2007 21:46:45 GMT
Author: mcaisse
Date: Fri Aug 24 14:46:45 2007
New Revision: 569534

URL: http://svn.apache.org/viewvc?rev=569534&view=rev
Log:
Fix bug in Project.setMembers()

Modified:
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/company/Project.java
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedFC/FCAppProject.java
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedPC/PCDSProject.java

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/company/Project.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/company/Project.java?rev=569534&r1=569533&r2=569534&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/company/Project.java (original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/company/Project.java Fri Aug 24 14:46:45
2007
@@ -176,7 +176,7 @@
     public void setMembers(Set employees) {
         // workaround: create a new HashSet, because fostore does not
         // support LinkedHashSet
-        this.members = (members != null) ? new HashSet(employees) : null;
+        this.members = (employees != null) ? new HashSet(employees) : null;
     }
 
     /** Serialization support: initialize transient fields. */

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedFC/FCAppProject.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedFC/FCAppProject.java?rev=569534&r1=569533&r2=569534&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedFC/FCAppProject.java
(original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedFC/FCAppProject.java
Fri Aug 24 14:46:45 2007
@@ -196,7 +196,7 @@
     public void setMembers(Set employees) {
         // workaround: create a new HashSet, because fostore does not
         // support LinkedHashSet
-        this.members = (members != null) ? new HashSet(employees) : null;
+        this.members = (employees != null) ? new HashSet(employees) : null;
     }
 
     /** Serialization support: initialize transient fields. */

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedPC/PCDSProject.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedPC/PCDSProject.java?rev=569534&r1=569533&r2=569534&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedPC/PCDSProject.java (original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/companyAnnotatedPC/PCDSProject.java Fri
Aug 24 14:46:45 2007
@@ -207,7 +207,7 @@
     public void setMembers(Set employees) {
         // workaround: create a new HashSet, because fostore does not
         // support LinkedHashSet
-        this._members = (_members != null) ? new HashSet(employees) : null;
+        this._members = (employees != null) ? new HashSet(employees) : null;
     }
 
     /** Serialization support: initialize transient fields. */



Mime
View raw message