Skip to content

Commit 8b290be

Browse files
committed
2 parents f92f7a0 + d92ebcc commit 8b290be

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
6363
# Initializes the CodeQL tools for scanning.
6464
- name: Initialize CodeQL
65-
uses: github/codeql-action/init@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # 3.29.5
65+
uses: github/codeql-action/init@16140ae1a102900babc80a33c44059580f687047 # 3.29.5
6666
with:
6767
languages: ${{ matrix.language }}
6868
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -73,7 +73,7 @@ jobs:
7373
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
7474
# If this step fails, then you should remove it and run the build manually (see below)
7575
- name: Autobuild
76-
uses: github/codeql-action/autobuild@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # 3.29.5
76+
uses: github/codeql-action/autobuild@16140ae1a102900babc80a33c44059580f687047 # 3.29.5
7777

7878
# ℹ️ Command-line programs to run using the OS shell.
7979
# 📚 https://git.io/JvXDl
@@ -87,4 +87,4 @@ jobs:
8787
# make release
8888

8989
- name: Perform CodeQL Analysis
90-
uses: github/codeql-action/analyze@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # 3.29.5
90+
uses: github/codeql-action/analyze@16140ae1a102900babc80a33c44059580f687047 # 3.29.5

.github/workflows/scorecards-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ jobs:
6666
retention-days: 5
6767

6868
- name: "Upload to code-scanning"
69-
uses: github/codeql-action/upload-sarif@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # 3.29.5
69+
uses: github/codeql-action/upload-sarif@16140ae1a102900babc80a33c44059580f687047 # 3.29.5
7070
with:
7171
sarif_file: results.sarif

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>org.apache.commons</groupId>
2121
<artifactId>commons-parent</artifactId>
22-
<version>89</version>
22+
<version>90</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525
<groupId>commons-io</groupId>

src/changes/changes.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ The <action> type attribute can be add,update,fix,remove.
5757
<action type="fix" dev="ggregory" due-to="Gary Gregory, Piotr P. Karwasz">Javadoc general improvements.</action>
5858
<action type="fix" dev="ggregory" due-to="Piotr P. Karwasz">IOUtils.toByteArray() now throws EOFException when not enough data is available #796.</action>
5959
<action type="fix" dev="pkarwasz" due-to="Piotr P. Karwasz">Fix IOUtils.skip() usage in concurrent scenarios.</action>
60+
<action type="fix" dev="ggregory" due-to="J Hawkins">[javadoc] Fix XmlStreamReader Javadoc to indicate the correct class that is built #806.</action>
6061
<!-- ADD -->
6162
<action dev="ggregory" type="add" due-to="strangelookingnerd, Gary Gregory">FileUtils#byteCountToDisplaySize() supports Zettabyte, Yottabyte, Ronnabyte and Quettabyte #763.</action>
6263
<action dev="ggregory" type="add" due-to="strangelookingnerd, Gary Gregory">Add org.apache.commons.io.FileUtils.ONE_RB #763.</action>
@@ -73,7 +74,7 @@ The <action> type attribute can be add,update,fix,remove.
7374
<action dev="pkarwasz" type="add" due-to="Piotr P. Karwasz">Add CloseShieldChannel to close-shielded NIO Channels #786.</action>
7475
<action dev="pkarwasz" type="add" due-to="Piotr P. Karwasz">Added IOUtils.checkFromIndexSize as a Java 8 backport of Objects.checkFromIndexSize #790.</action>
7576
<!-- UPDATE -->
76-
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.apache.commons:commons-parent from 85 to 89 #774, #783.</action>
77+
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.apache.commons:commons-parent from 85 to 90 #774, #783, #808.</action>
7778
<action type="update" dev="ggregory" due-to="Gary Gregory">[test] Bump commons-codec:commons-codec from 1.18.0 to 1.19.0.</action>
7879
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">[test] Bump commons.bytebuddy.version from 1.17.6 to 1.17.8 #769.</action>
7980
<action type="update" dev="ggregory" due-to="Gary Gregory">[test] Bump org.apache.commons:commons-lang3 from 3.18.0 to 3.19.0.</action>

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)