--- old/src/java.xml/share/classes/javax/xml/stream/XMLStreamReader.java 2020-08-25 18:28:37.281589566 +0000 +++ new/src/java.xml/share/classes/javax/xml/stream/XMLStreamReader.java 2020-08-25 18:28:36.922571192 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2020, 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 @@ -256,6 +256,7 @@ * return buf.toString(); * * + * @return the content of a text-only element * @throws XMLStreamException if the current event is not a START_ELEMENT * or if a non text element is encountered */