You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2013/03/06 09:51:25 UTC

svn commit: r1453216 - /commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/DiskFileUpload.java

Author: simonetripodi
Date: Wed Mar  6 08:51:25 2013
New Revision: 1453216

URL: http://svn.apache.org/r1453216
Log:
trivial: code format, no functional modification

Modified:
    commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/DiskFileUpload.java

Modified: commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/DiskFileUpload.java
URL: http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/DiskFileUpload.java?rev=1453216&r1=1453215&r2=1453216&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/DiskFileUpload.java (original)
+++ commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/DiskFileUpload.java Wed Mar  6 08:51:25 2013
@@ -52,16 +52,13 @@ public class DiskFileUpload
 
     // ----------------------------------------------------------- Data members
 
-
     /**
      * The factory to use to create new form items.
      */
     private DefaultFileItemFactory fileItemFactory;
 
-
     // ----------------------------------------------------------- Constructors
 
-
     /**
      * Constructs an instance of this class which uses the default factory to
      * create <code>FileItem</code> instances.
@@ -76,7 +73,6 @@ public class DiskFileUpload
         this.fileItemFactory = new DefaultFileItemFactory();
     }
 
-
     /**
      * Constructs an instance of this class which uses the supplied factory to
      * create <code>FileItem</code> instances.
@@ -92,10 +88,8 @@ public class DiskFileUpload
         this.fileItemFactory = fileItemFactory;
     }
 
-
     // ----------------------------------------------------- Property accessors
 
-
     /**
      * Returns the factory class used when creating file items.
      *
@@ -109,7 +103,6 @@ public class DiskFileUpload
         return fileItemFactory;
     }
 
-
     /**
      * Sets the factory class to use when creating file items. The factory must
      * be an instance of <code>DefaultFileItemFactory</code> or a subclass
@@ -125,7 +118,6 @@ public class DiskFileUpload
         this.fileItemFactory = (DefaultFileItemFactory) factory;
     }
 
-
     /**
      * Returns the size threshold beyond which files are written directly to
      * disk.
@@ -141,7 +133,6 @@ public class DiskFileUpload
         return fileItemFactory.getSizeThreshold();
     }
 
-
     /**
      * Sets the size threshold beyond which files are written directly to disk.
      *
@@ -156,7 +147,6 @@ public class DiskFileUpload
         fileItemFactory.setSizeThreshold(sizeThreshold);
     }
 
-
     /**
      * Returns the location used to temporarily store files that are larger
      * than the configured size threshold.
@@ -172,7 +162,6 @@ public class DiskFileUpload
         return fileItemFactory.getRepository().getPath();
     }
 
-
     /**
      * Sets the location used to temporarily store files that are larger
      * than the configured size threshold.
@@ -188,10 +177,8 @@ public class DiskFileUpload
         fileItemFactory.setRepository(new File(repositoryPath));
     }
 
-
     // --------------------------------------------------------- Public methods
 
-
     /**
      * Processes an <a href="http://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
      * compliant <code>multipart/form-data</code> stream. If files are stored