This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch 1.x
in repository https://gitbox.apache.org/repos/asf/commons-fileupload.git
The following commit(s) were added to refs/heads/1.x by this push:
new 61d367b6 org.apache.commons.fileupload.util.Closeable now extends
java.io.Closeable.
61d367b6 is described below
commit 61d367b6212cc34831c89b63f4020d766c770f8a
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Feb 8 07:52:03 2026 -0500
org.apache.commons.fileupload.util.Closeable now extends
java.io.Closeable.
---
src/changes/changes.xml | 1 +
src/main/java/org/apache/commons/fileupload/util/Closeable.java | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 54a25fac..2f060268 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -46,6 +46,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="fix" dev="markt" due-to="Coverity Scan">Better exception
type and message if a multipart/mixed part is presented without a boundary
defined</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix Apache RAT
plugin console warnings.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Port to JUnit
5.</action>
+ <action type="fix" dev="ggregory" due-to="Gary
Gregory">org.apache.commons.fileupload.util.Closeable now extends
java.io.Closeable.</action>
<!-- ADD -->
<!-- UPDATE -->
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump
org.apache.commons:commons-parent from 84 to 96.</action>
diff --git a/src/main/java/org/apache/commons/fileupload/util/Closeable.java
b/src/main/java/org/apache/commons/fileupload/util/Closeable.java
index 4b43b18d..29a5be40 100644
--- a/src/main/java/org/apache/commons/fileupload/util/Closeable.java
+++ b/src/main/java/org/apache/commons/fileupload/util/Closeable.java
@@ -21,13 +21,14 @@ import java.io.IOException;
/**
* Interface of an object, which may be closed.
*/
-public interface Closeable {
+public interface Closeable extends java.io.Closeable {
/**
* Closes the object.
*
* @throws IOException An I/O error occurred.
*/
+ @Override
void close() throws IOException;
/**