svn commit: r162078 - /incubator/jdo/trunk/tck11/test/jdo/applicationidentity/org/apache/jdo/tck/pc/company /incubator/jdo/trunk/tck11/test/jdo/applicationidentity/org/apache/jdo/tck/pc/inheritance /incubator/jdo/trunk/tck11/test/jdo/applicationidentity/org/apache/jdo/tck/pc/instancecallbacks /incubator/jdo/trunk/tck11/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/company /incubator/jdo/trunk/tck11/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/inheritance /incubator/jdo/trunk/tck11/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/instancecallbacks /incubator/jdo/trunk/tck20/test/jdo/applicationidentity/org/apache/jdo/tck/pc/company /incubator/jdo/trunk/tck20/test/jdo/applicationidentity/org/apache/jdo/tck/pc/inheritance /incubator/jdo/trunk/tck20/test/jdo/applicationidentity/org/apache/jdo/tck/pc/instancecallbacks /incubator/jdo/trunk/tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/company /incubator/jdo/trunk/tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/inheritance /incubator/jdo/trunk/tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/instancecallbacks

2005-04-20 Thread mbo
Author: mbo
Date: Wed Apr 20 14:43:27 2005
New Revision: 162078

URL: http://svn.apache.org/viewcvs?rev=162078view=rev
Log:
Change enhancer properties files: put the copyright notice in comments

Modified:

incubator/jdo/trunk/tck11/test/jdo/applicationidentity/org/apache/jdo/tck/pc/company/jdoTest.properties

incubator/jdo/trunk/tck11/test/jdo/applicationidentity/org/apache/jdo/tck/pc/inheritance/jdoTest.properties

incubator/jdo/trunk/tck11/test/jdo/applicationidentity/org/apache/jdo/tck/pc/instancecallbacks/jdoTest.properties

incubator/jdo/trunk/tck11/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/company/jdoTest.properties

incubator/jdo/trunk/tck11/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/inheritance/jdoTest.properties

incubator/jdo/trunk/tck11/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/instancecallbacks/jdoTest.properties

incubator/jdo/trunk/tck20/test/jdo/applicationidentity/org/apache/jdo/tck/pc/company/jdoTest.properties

incubator/jdo/trunk/tck20/test/jdo/applicationidentity/org/apache/jdo/tck/pc/inheritance/jdoTest.properties

incubator/jdo/trunk/tck20/test/jdo/applicationidentity/org/apache/jdo/tck/pc/instancecallbacks/jdoTest.properties

incubator/jdo/trunk/tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/company/jdoTest.properties

incubator/jdo/trunk/tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/inheritance/jdoTest.properties

incubator/jdo/trunk/tck20/test/jdo/datastoreidentity/org/apache/jdo/tck/pc/instancecallbacks/jdoTest.properties

Modified: 
incubator/jdo/trunk/tck11/test/jdo/applicationidentity/org/apache/jdo/tck/pc/company/jdoTest.properties
URL: 
http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck11/test/jdo/applicationidentity/org/apache/jdo/tck/pc/company/jdoTest.properties?rev=162078r1=162077r2=162078view=diff
==
--- 
incubator/jdo/trunk/tck11/test/jdo/applicationidentity/org/apache/jdo/tck/pc/company/jdoTest.properties
 (original)
+++ 
incubator/jdo/trunk/tck11/test/jdo/applicationidentity/org/apache/jdo/tck/pc/company/jdoTest.properties
 Wed Apr 20 14:43:27 2005
@@ -1,18 +1,18 @@
-
- Copyright 2005 The Apache Software Foundation.
- 
- Licensed under the Apache License, Version 2.0 (the License);
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at 
- 
- http://www.apache.org/licenses/LICENSE-2.0
- 
- Unless required by applicable law or agreed to in writing, software 
- distributed under the License is distributed on an AS IS BASIS, 
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
- See the License for the specific language governing permissions and 
- limitations under the License.
-
+#
+# Copyright 2005 The Apache Software Foundation.
+# 
+# Licensed under the Apache License, Version 2.0 (the License);
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at 
+# 
+# http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software 
+# distributed under the License is distributed on an AS IS BASIS, 
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+# See the License for the specific language governing permissions and 
+# limitations under the License.
+#
 
 # Classnames can have the following attributes: 
 #  jdo:{persistent|transactional} 

Modified: 
incubator/jdo/trunk/tck11/test/jdo/applicationidentity/org/apache/jdo/tck/pc/inheritance/jdoTest.properties
URL: 
http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck11/test/jdo/applicationidentity/org/apache/jdo/tck/pc/inheritance/jdoTest.properties?rev=162078r1=162077r2=162078view=diff
==
--- 
incubator/jdo/trunk/tck11/test/jdo/applicationidentity/org/apache/jdo/tck/pc/inheritance/jdoTest.properties
 (original)
+++ 
incubator/jdo/trunk/tck11/test/jdo/applicationidentity/org/apache/jdo/tck/pc/inheritance/jdoTest.properties
 Wed Apr 20 14:43:27 2005
@@ -1,18 +1,18 @@
-
- Copyright 2005 The Apache Software Foundation.
- 
- Licensed under the Apache License, Version 2.0 (the License);
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at 
- 
- http://www.apache.org/licenses/LICENSE-2.0
- 
- Unless required by applicable law or agreed to in writing, software 
- distributed under the License is distributed on an AS IS BASIS, 
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
- See the License for the specific language governing permissions and 
- limitations under the License.
-
+#
+# Copyright 2005 The Apache Software Foundation.
+# 
+# Licensed under the Apache License, Version 2.0 (the License);
+# you may not use this file except in compliance with the License.
+# You may obtain a 

svn commit: r162080 - /incubator/jdo/trunk/ri11/src/java/org/apache/jdo/util/WeakHashSet.java

2005-04-20 Thread mbo
Author: mbo
Date: Wed Apr 20 14:46:52 2005
New Revision: 162080

URL: http://svn.apache.org/viewcvs?rev=162080view=rev
Log:
Change WeakHashSet implementation: cleanup WeakHashSet on remove but not on size

Modified:
incubator/jdo/trunk/ri11/src/java/org/apache/jdo/util/WeakHashSet.java

Modified: incubator/jdo/trunk/ri11/src/java/org/apache/jdo/util/WeakHashSet.java
URL: 
http://svn.apache.org/viewcvs/incubator/jdo/trunk/ri11/src/java/org/apache/jdo/util/WeakHashSet.java?rev=162080r1=162079r2=162080view=diff
==
--- incubator/jdo/trunk/ri11/src/java/org/apache/jdo/util/WeakHashSet.java 
(original)
+++ incubator/jdo/trunk/ri11/src/java/org/apache/jdo/util/WeakHashSet.java Wed 
Apr 20 14:46:52 2005
@@ -92,17 +92,9 @@
  * @return codetrue/code if the set contained the specified element.
  */
 public boolean remove(Object o) {
-return super.remove(WeakElement.create(o));
-}
-
-/**
- * Returns the number of elements in this set (its cardinality).
- *
- * @return the number of elements in this set (its cardinality).
- */
-public int size() {
+boolean ret = super.remove(WeakElement.create(o));
 processQueue();
-return super.size();
+return ret;
 }
 
 /**