changeset 705:783e7e2c587f jdk-9+131

8163266: Doc for ValidationEvent#getSeverity() should say it returns a constant from ValidationEvent instead of ValidationError Reviewed-by: rriggs Contributed-by: Abhijit Roy <abhijit.r.roy@oracle.com>
author rriggs
date Mon, 08 Aug 2016 10:15:29 -0400
parents 9df85348a932
children e301b0614424 b41e7cd5f414
files src/java.xml.bind/share/classes/javax/xml/bind/ValidationEvent.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.xml.bind/share/classes/javax/xml/bind/ValidationEvent.java	Thu Aug 04 17:32:53 2016 +0000
+++ b/src/java.xml.bind/share/classes/javax/xml/bind/ValidationEvent.java	Mon Aug 08 10:15:29 2016 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -60,8 +60,8 @@
      * Retrieve the severity code for this warning/error.
      *
      * <p>
-     * Must be one of {@code ValidationError.WARNING},
-     * {@code ValidationError.ERROR}, or {@code ValidationError.FATAL_ERROR}.
+     * Must be one of {@code ValidationEvent.WARNING},
+     * {@code ValidationEvent.ERROR}, or {@code ValidationEvent.FATAL_ERROR}.
      *
      * @return the severity code for this warning/error
      */