Skip to content

Commit 1cf65a6

Browse files
authored
Fix javadoc to indicate the correct class that is built. (#806)
1 parent af17dc6 commit 1cf65a6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
import org.apache.commons.io.IOUtils;
4343
import org.apache.commons.io.build.AbstractStreamBuilder;
4444
import org.apache.commons.io.function.IOConsumer;
45-
import org.apache.commons.io.output.XmlStreamWriter;
4645

4746
/**
4847
* Character stream that handles all the necessary Voodoo to figure out the charset encoding of the XML document within the stream.
@@ -76,7 +75,7 @@ public class XmlStreamReader extends Reader {
7675

7776
// @formatter:off
7877
/**
79-
* Builds a new {@link XmlStreamWriter}.
78+
* Builds a new {@link XmlStreamReader}.
8079
*
8180
* Constructs a Reader using an InputStream and the associated content-type header. This constructor is lenient regarding the encoding detection.
8281
* <p>
@@ -131,7 +130,7 @@ public Builder() {
131130
}
132131

133132
/**
134-
* Builds a new {@link XmlStreamWriter}.
133+
* Builds a new {@link XmlStreamReader}.
135134
* <p>
136135
* You must set an aspect that supports {@link #getInputStream()}, otherwise, this method throws an exception.
137136
* </p>

0 commit comments

Comments
 (0)