8163266: Doc for ValidationEvent#getSeverity() should say it returns a constant from ValidationEvent instead of ValidationError

Reviewed-by: rriggs
This commit is contained in:
Abhijit Roy 2016-08-08 10:15:29 -04:00 committed by Roger Riggs
parent 2e5d326aa6
commit 2a26d2b3a8

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -60,8 +60,8 @@ public interface ValidationEvent {
* Retrieve the severity code for this warning/error. * Retrieve the severity code for this warning/error.
* *
* <p> * <p>
* Must be one of {@code ValidationError.WARNING}, * Must be one of {@code ValidationEvent.WARNING},
* {@code ValidationError.ERROR}, or {@code ValidationError.FATAL_ERROR}. * {@code ValidationEvent.ERROR}, or {@code ValidationEvent.FATAL_ERROR}.
* *
* @return the severity code for this warning/error * @return the severity code for this warning/error
*/ */