You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by el...@apache.org on 2001/04/23 17:21:17 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/validators/datatype DoubleDatatypeValidator.java
elena 01/04/23 08:21:16
Modified: java/src/org/apache/xerces/validators/datatype
DoubleDatatypeValidator.java
Log:
typo fix
Revision Changes Path
1.20 +2 -2 xml-xerces/java/src/org/apache/xerces/validators/datatype/DoubleDatatypeValidator.java
Index: DoubleDatatypeValidator.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/datatype/DoubleDatatypeValidator.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- DoubleDatatypeValidator.java 2001/04/17 00:18:17 1.19
+++ DoubleDatatypeValidator.java 2001/04/23 15:21:10 1.20
@@ -68,7 +68,7 @@
* @author Ted Leung
* @author Jeffrey Rodriguez
* @author Mark Swinkles - List Validation refactoring
- * @version $Id: DoubleDatatypeValidator.java,v 1.19 2001/04/17 00:18:17 elena Exp $
+ * @version $Id: DoubleDatatypeValidator.java,v 1.20 2001/04/23 15:21:10 elena Exp $
*/
public class DoubleDatatypeValidator extends AbstractNumericFacetValidator {
@@ -132,7 +132,7 @@
try {
for ( int i = 0; i < enumeration.size(); i++ ) {
- fEnumeration[i] = new Double( (String)enumeration.elementAt(i));
+ fEnumeration[i] = dValueOf((String)enumeration.elementAt(i));
((DoubleDatatypeValidator)fBaseValidator).validate((String)enumeration.elementAt(i), null);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org