You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2026/03/22 22:52:32 UTC
(commons-fileupload) branch master updated: Fix whitespace
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-fileupload.git
The following commit(s) were added to refs/heads/master by this push:
new 030d2353 Fix whitespace
030d2353 is described below
commit 030d235346b88a22cd012bab79bd597b9a44b0b7
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Mar 22 15:52:11 2026 -0700
Fix whitespace
---
.../src/main/java/org/apache/commons/fileupload2/core/DiskFileItem.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/DiskFileItem.java b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/DiskFileItem.java
index 5ef7db66..deb651d0 100644
--- a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/DiskFileItem.java
+++ b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/DiskFileItem.java
@@ -363,7 +363,7 @@ public final class DiskFileItem implements FileItem<DiskFileItem> {
return bytes;
}
final Path path = dos.getPath();
- if (path != null && dos.getState() == State.closed) {
+ if (path != null && dos.getState() == State.closed) {
return Files.readAllBytes(path);
}
}