Hi,

Please review a quick fix for a typo in javax.xml.validation.Validator:

diff --git a/src/java.xml/share/classes/javax/xml/validation/Validator.java b/src/java.xml/share/classes/javax/xml/validation/Validator.java
--- a/src/java.xml/share/classes/javax/xml/validation/Validator.java
+++ b/src/java.xml/share/classes/javax/xml/validation/Validator.java
@@ -214,7 +214,7 @@
      *
      * @throws IllegalArgumentException
      *      If the {@code Result} type doesn't match the
-     *      {@code Source} type of if the {@code Source}
+     *      {@code Source} type or if the {@code Source}
      *      is an XML artifact that the implementation cannot
      *      validate (for example, a processing instruction).
      * @throws SAXException


JBS: https://bugs.openjdk.java.net/browse/JDK-8209873

Thanks,
Joe

Reply via email to