You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by hu...@apache.org on 2004/06/08 19:17:44 UTC
cvs commit: jakarta-commons/validator/src/share/org/apache/commons/validator/util ValidatorUtils.java
husted 2004/06/08 10:17:44
Modified: validator/src/share/org/apache/commons/validator Field.java
Form.java ValidatorResources.java
validator/src/share/org/apache/commons/validator/util
ValidatorUtils.java
Log:
Document that the use of FastHashMap is deprecated.
Revision Changes Path
1.33 +7 -4 jakarta-commons/validator/src/share/org/apache/commons/validator/Field.java
Index: Field.java
===================================================================
RCS file: /home/cvs/jakarta-commons/validator/src/share/org/apache/commons/validator/Field.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- Field.java 8 Apr 2004 23:22:03 -0000 1.32
+++ Field.java 8 Jun 2004 17:17:44 -0000 1.33
@@ -33,7 +33,7 @@
import java.util.StringTokenizer;
import org.apache.commons.beanutils.PropertyUtils;
-import org.apache.commons.collections.FastHashMap;
+import org.apache.commons.collections.FastHashMap; // DEPRECATED
import org.apache.commons.validator.util.ValidatorUtils;
/**
@@ -41,6 +41,9 @@
* message information and variables to perform the validations and generate
* error messages. Instances of this class are configured with a
* <field> xml element.
+ *
+ * The use of FastHashMap is deprecated and will be replaced in a future
+ * release.
*
* @see org.apache.commons.validator.Form
*/
1.20 +8 -4 jakarta-commons/validator/src/share/org/apache/commons/validator/Form.java
Index: Form.java
===================================================================
RCS file: /home/cvs/jakarta-commons/validator/src/share/org/apache/commons/validator/Form.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- Form.java 8 Jun 2004 14:57:42 -0000 1.19
+++ Form.java 8 Jun 2004 17:17:44 -0000 1.20
@@ -28,13 +28,17 @@
import java.util.List;
import java.util.Map;
-import org.apache.commons.collections.FastHashMap;
+import org.apache.commons.collections.FastHashMap; // DEPRECATED
/**
* <p>
* This contains a set of validation rules for a form/JavaBean. The information
* is contained in a list of <code>Field</code> objects. Instances of this
* class are configured with a <form> xml element.
+ * </p>
+ * <p>
+ * The use of FastHashMap is deprecated and will be replaced in a future
+ * release.
* </p>
*/
public class Form implements Serializable {
1.33 +9 -4 jakarta-commons/validator/src/share/org/apache/commons/validator/ValidatorResources.java
Index: ValidatorResources.java
===================================================================
RCS file: /home/cvs/jakarta-commons/validator/src/share/org/apache/commons/validator/ValidatorResources.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- ValidatorResources.java 8 Apr 2004 23:05:39 -0000 1.32
+++ ValidatorResources.java 8 Jun 2004 17:17:44 -0000 1.33
@@ -32,7 +32,7 @@
import java.util.Locale;
import java.util.Map;
-import org.apache.commons.collections.FastHashMap;
+import org.apache.commons.collections.FastHashMap; // DEPRECATED
import org.apache.commons.digester.Digester;
import org.apache.commons.digester.xmlrules.DigesterLoader;
import org.apache.commons.logging.Log;
@@ -50,6 +50,11 @@
* <p><strong>Note</strong> - Classes that extend this class
* must be Serializable so that instances may be used in distributable
* application server environments.</p>
+ *
+ * <p>
+ * The use of FastHashMap is deprecated and will be replaced in a future
+ * release.
+ * </p>
*/
public class ValidatorResources implements Serializable {
1.8 +7 -4 jakarta-commons/validator/src/share/org/apache/commons/validator/util/ValidatorUtils.java
Index: ValidatorUtils.java
===================================================================
RCS file: /home/cvs/jakarta-commons/validator/src/share/org/apache/commons/validator/util/ValidatorUtils.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ValidatorUtils.java 21 Feb 2004 17:10:30 -0000 1.7
+++ ValidatorUtils.java 8 Jun 2004 17:17:44 -0000 1.8
@@ -26,7 +26,7 @@
import java.util.Iterator;
import org.apache.commons.beanutils.PropertyUtils;
-import org.apache.commons.collections.FastHashMap;
+import org.apache.commons.collections.FastHashMap; // DEPRECATED
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.commons.validator.Arg;
@@ -35,6 +35,9 @@
/**
* Basic utility methods.
+ *
+ * The use of FastHashMap is deprecated and will be replaced in a future
+ * release.
*/
public class ValidatorUtils {
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org