src/java.xml/share/classes/javax/xml/stream/XMLStreamReader.java
changeset 50905 67f6158279d8
parent 47216 71c04702a3d5
--- a/src/java.xml/share/classes/javax/xml/stream/XMLStreamReader.java	Mon Jul 02 16:28:09 2018 -0400
+++ b/src/java.xml/share/classes/javax/xml/stream/XMLStreamReader.java	Mon Jul 02 13:54:01 2018 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2018, 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
@@ -197,7 +197,6 @@
    *  with  two separate events: START_ELEMENT, END_ELEMENT - This preserves
    *   parsing equivalency of empty element to {@code <tag></tag>}.
    *
-   * This method will throw an IllegalStateException if it is called after hasNext() returns false.
    * @see javax.xml.stream.events.XMLEvent
    * @return the integer code corresponding to the current parse event
    * @throws java.util.NoSuchElementException if this is called when hasNext() returns false