You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2004/06/08 00:14:42 UTC
cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/map TransformedMap.java AbstractReferenceMap.java PredicatedMap.java
scolebourne 2004/06/07 15:14:42
Modified: collections/src/java/org/apache/commons/collections/map
TransformedMap.java AbstractReferenceMap.java
PredicatedMap.java
Log:
Add since tags
Revision Changes Path
1.11 +3 -1 jakarta-commons/collections/src/java/org/apache/commons/collections/map/TransformedMap.java
Index: TransformedMap.java
===================================================================
RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/map/TransformedMap.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- TransformedMap.java 21 May 2004 22:01:04 -0000 1.10
+++ TransformedMap.java 7 Jun 2004 22:14:42 -0000 1.11
@@ -163,6 +163,7 @@
*
* @param value the value to transform
* @return the transformed value
+ * @since Commons Collections 3.1
*/
protected Object checkSetValue(Object value) {
return valueTransformer.transform(value);
@@ -172,6 +173,7 @@
* Override to only return true when there is a value transformer.
*
* @return true if a value transformer is in use
+ * @since Commons Collections 3.1
*/
protected boolean isSetValueChecking() {
return (valueTransformer != null);
1.3 +3 -1 jakarta-commons/collections/src/java/org/apache/commons/collections/map/AbstractReferenceMap.java
Index: AbstractReferenceMap.java
===================================================================
RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/map/AbstractReferenceMap.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- AbstractReferenceMap.java 27 Apr 2004 21:32:52 -0000 1.2
+++ AbstractReferenceMap.java 7 Jun 2004 22:14:42 -0000 1.3
@@ -553,6 +553,8 @@
* <p>
* If getKey() or getValue() returns null, it means
* the mapping is stale and should be removed.
+ *
+ * @since Commons Collections 3.1
*/
protected static class ReferenceEntry extends HashEntry {
/** The parent map */
1.14 +3 -1 jakarta-commons/collections/src/java/org/apache/commons/collections/map/PredicatedMap.java
Index: PredicatedMap.java
===================================================================
RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/map/PredicatedMap.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- PredicatedMap.java 21 May 2004 22:01:04 -0000 1.13
+++ PredicatedMap.java 7 Jun 2004 22:14:42 -0000 1.14
@@ -141,6 +141,7 @@
*
* @param value the value to validate
* @throws IllegalArgumentException if invalid
+ * @since Commons Collections 3.1
*/
protected Object checkSetValue(Object value) {
if (valuePredicate.evaluate(value) == false) {
@@ -153,6 +154,7 @@
* Override to only return true when there is a value transformer.
*
* @return true if a value predicate is in use
+ * @since Commons Collections 3.1
*/
protected boolean isSetValueChecking() {
return (valuePredicate != null);
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org