commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject [3/4] commons-fileupload git commit: Remove extra whitespace
Date Tue, 05 Dec 2017 09:59:33 GMT
Remove extra whitespace


Project: http://git-wip-us.apache.org/repos/asf/commons-fileupload/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-fileupload/commit/bede1aac
Tree: http://git-wip-us.apache.org/repos/asf/commons-fileupload/tree/bede1aac
Diff: http://git-wip-us.apache.org/repos/asf/commons-fileupload/diff/bede1aac

Branch: refs/heads/master
Commit: bede1aaceec656c4330e7c51b3f232ae469e7e0e
Parents: a2446c7
Author: Mark Thomas <markt@apache.org>
Authored: Tue Dec 5 09:58:44 2017 +0000
Committer: Mark Thomas <markt@apache.org>
Committed: Tue Dec 5 09:58:44 2017 +0000

----------------------------------------------------------------------
 .../java/org/apache/commons/fileupload/disk/DiskFileItem.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-fileupload/blob/bede1aac/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java b/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java
index 81aeebc..fdcf83e 100644
--- a/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java
+++ b/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java
@@ -415,7 +415,7 @@ public class DiskFileItem
     public void delete() {
         cachedContent = null;
         File outputFile = getStoreLocation();
-        if (outputFile != null && !isInMemory()  &&  outputFile.exists())
{
+        if (outputFile != null && !isInMemory() && outputFile.exists()) {
             outputFile.delete();
         }
     }
@@ -523,7 +523,7 @@ public class DiskFileItem
      */
     @Override
     protected void finalize() {
-        if (dfos == null  ||  dfos.isInMemory()) {
+        if (dfos == null || dfos.isInMemory()) {
             return;
         }
         File outputFile = dfos.getFile();


Mime
View raw message