You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2022/01/07 13:07:19 UTC
svn commit: r1896800 - /xmlbeans/trunk/src/main/java/org/apache/xmlbeans/XmlValidationError.java
Author: fanningpj
Date: Fri Jan 7 13:07:18 2022
New Revision: 1896800
URL: http://svn.apache.org/viewvc?rev=1896800&view=rev
Log:
use more generics internally
Modified:
xmlbeans/trunk/src/main/java/org/apache/xmlbeans/XmlValidationError.java
Modified: xmlbeans/trunk/src/main/java/org/apache/xmlbeans/XmlValidationError.java
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/src/main/java/org/apache/xmlbeans/XmlValidationError.java?rev=1896800&r1=1896799&r2=1896800&view=diff
==============================================================================
--- xmlbeans/trunk/src/main/java/org/apache/xmlbeans/XmlValidationError.java (original)
+++ xmlbeans/trunk/src/main/java/org/apache/xmlbeans/XmlValidationError.java Fri Jan 7 13:07:18 2022
@@ -24,14 +24,14 @@ import java.util.List;
/**
* The XmlValidationError class extends the {@link XmlError }XMLError class. The XML Validator contains
- * extra attributes that can be used to construct the XML validation error programatically.
+ * extra attributes that can be used to construct the XML validation error programmatically.
* <p>
* To extract the validation error cast the errors to XmlValidationError instead of
* XmlError for example:
* <br>
* <pre>
* xobj.validate(new XmlOptions().setErrorListener(errors))
- * for (Iterator<XmlError> it = errors.iterator(); it.hasNext(); )
+ * for (Iterator<XmlError> it = errors.iterator(); it.hasNext(); )
* {
* XmlError err = it.next());
* if (err instanceof XmlValidationError)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org