Skip to content

Commit bd3c2d9

Browse files
committed
Javadoc
1 parent a02c526 commit bd3c2d9

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/main/java/org/apache/commons/io/input/XmlStreamReader.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ static boolean isTextXml(final String mime) {
340340
* @param file File to create a Reader from.
341341
* @throws NullPointerException if the input is {@code null}.
342342
* @throws IOException thrown if there is a problem reading the file.
343-
* @deprecated Use {@link #builder()}
343+
* @deprecated Use {@link #builder()} and {@link Builder#get()}
344344
*/
345345
@Deprecated
346346
public XmlStreamReader(final File file) throws IOException {
@@ -359,7 +359,7 @@ public XmlStreamReader(final File file) throws IOException {
359359
* @param inputStream InputStream to create a Reader from.
360360
* @throws NullPointerException if the input stream is {@code null}.
361361
* @throws IOException thrown if there is a problem reading the stream.
362-
* @deprecated Use {@link #builder()}
362+
* @deprecated Use {@link #builder()} and {@link Builder#get()}
363363
*/
364364
@Deprecated
365365
public XmlStreamReader(final InputStream inputStream) throws IOException {
@@ -395,7 +395,7 @@ public XmlStreamReader(final InputStream inputStream) throws IOException {
395395
* @throws NullPointerException if the input stream is {@code null}.
396396
* @throws IOException thrown if there is a problem reading the stream.
397397
* @throws XmlStreamReaderException thrown if the charset encoding could not be determined according to the specs.
398-
* @deprecated Use {@link #builder()}
398+
* @deprecated Use {@link #builder()} and {@link Builder#get()}
399399
*/
400400
@Deprecated
401401
public XmlStreamReader(final InputStream inputStream, final boolean lenient) throws IOException {
@@ -432,7 +432,7 @@ public XmlStreamReader(final InputStream inputStream, final boolean lenient) thr
432432
* @throws NullPointerException if the input stream is {@code null}.
433433
* @throws IOException thrown if there is a problem reading the stream.
434434
* @throws XmlStreamReaderException thrown if the charset encoding could not be determined according to the specs.
435-
* @deprecated Use {@link #builder()}
435+
* @deprecated Use {@link #builder()} and {@link Builder#get()}
436436
*/
437437
@Deprecated
438438
@SuppressWarnings("resource") // InputStream is managed through a InputStreamReader in this instance.
@@ -459,7 +459,7 @@ public XmlStreamReader(final InputStream inputStream, final boolean lenient, fin
459459
* @param httpContentType content-type header to use for the resolution of the charset encoding.
460460
* @throws NullPointerException if the input stream is {@code null}.
461461
* @throws IOException thrown if there is a problem reading the file.
462-
* @deprecated Use {@link #builder()}
462+
* @deprecated Use {@link #builder()} and {@link Builder#get()}
463463
*/
464464
@Deprecated
465465
public XmlStreamReader(final InputStream inputStream, final String httpContentType) throws IOException {
@@ -497,7 +497,7 @@ public XmlStreamReader(final InputStream inputStream, final String httpContentTy
497497
* @throws NullPointerException if the input stream is {@code null}.
498498
* @throws IOException thrown if there is a problem reading the file.
499499
* @throws XmlStreamReaderException thrown if the charset encoding could not be determined according to the specification.
500-
* @deprecated Use {@link #builder()}
500+
* @deprecated Use {@link #builder()} and {@link Builder#get()}
501501
*/
502502
@Deprecated
503503
public XmlStreamReader(final InputStream inputStream, final String httpContentType, final boolean lenient) throws IOException {
@@ -536,7 +536,7 @@ public XmlStreamReader(final InputStream inputStream, final String httpContentTy
536536
* @throws NullPointerException if the input stream is {@code null}.
537537
* @throws IOException thrown if there is a problem reading the file.
538538
* @throws XmlStreamReaderException thrown if the charset encoding could not be determined according to the specification.
539-
* @deprecated Use {@link #builder()}
539+
* @deprecated Use {@link #builder()} and {@link Builder#get()}
540540
*/
541541
@Deprecated
542542
@SuppressWarnings("resource") // InputStream is managed through a InputStreamReader in this instance.
@@ -563,7 +563,7 @@ public XmlStreamReader(final InputStream inputStream, final String httpContentTy
563563
* @throws NullPointerException if the input is {@code null}.
564564
* @throws IOException thrown if there is a problem reading the file.
565565
* @since 2.11.0
566-
* @deprecated Use {@link #builder()}
566+
* @deprecated Use {@link #builder()} and {@link Builder#get()}
567567
*/
568568
@Deprecated
569569
@SuppressWarnings("resource") // InputStream is managed through another reader in this instance.

0 commit comments

Comments
 (0)