Skip to content

Commit

Permalink
Deprecate DeferredFileOutputStream.getStream() in favor of
Browse files Browse the repository at this point in the history
getOutputStream()
  • Loading branch information
garydgregory committed Feb 1, 2025
1 parent 3ca717b commit c00374e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ The <action> type attribute can be add,update,fix,remove.
<action dev="ggregory" type="fix" due-to="Gary Gregory">Pick up maven-antrun-plugin version from parent POM org.apache:apache.</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">Javadoc is missing its Overview page.</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">Remove -nouses directive from maven-bundle-plugin. OSGi package imports now state 'uses' definitions for package imports, this doesn't affect JPMS (from org.apache.commons:commons-parent:80).</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate DeferredFileOutputStream.getStream() in favor of getOutputStream().</action>
<!-- ADD -->
<action dev="ggregory" type="add" issue="IO-860" due-to="Nico Strecker, Gary Gregory">Add ThrottledInputStream.Builder.setMaxBytes(long, ChronoUnit).</action>
<action dev="ggregory" type="add" due-to="Gary Gregory">Add IOIterable.</action>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,9 @@ public Path getPath() {
*
* @return The underlying output stream.
* @throws IOException if an error occurs.
* @deprecated Use {@link #getOutputStream()}.
*/
@Deprecated
@Override
protected OutputStream getStream() throws IOException {
return currentOutputStream;
Expand Down

0 comments on commit c00374e

Please sign in to comment.