changeset 51527:6b0012622443

8209873: Typo in javax.xml.validation.Validator.validate documentation Reviewed-by: lancea
author joehw
date Thu, 23 Aug 2018 12:57:40 -0700
parents 758b3f3f3a8d
children eb8d5aeabab3
files src/java.xml/share/classes/javax/xml/validation/Validator.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.xml/share/classes/javax/xml/validation/Validator.java	Thu Aug 23 12:09:46 2018 -0700
+++ b/src/java.xml/share/classes/javax/xml/validation/Validator.java	Thu Aug 23 12:57:40 2018 -0700
@@ -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