Tab police
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 1 Aug 2010 11:09:10 +0000 (11:09 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 1 Aug 2010 11:09:10 +0000 (11:09 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@981202 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/util/http/fileupload/FileUploadBase.java
java/org/apache/tomcat/util/http/fileupload/MultipartStream.java

index bb338df..a7ecac9 100644 (file)
@@ -607,7 +607,7 @@ public abstract class FileUploadBase {
                 if (fileSizeMax != -1) {
                     if (pContentLength != -1
                             &&  pContentLength > fileSizeMax) {
-                       FileSizeLimitExceededException e =
+                        FileSizeLimitExceededException e =
                             new FileSizeLimitExceededException(
                                 "The field " + fieldName
                                 + " exceeds its maximum permitted "
@@ -632,7 +632,7 @@ public abstract class FileUploadBase {
                                     pCount, pSizeMax);
                             e.setFieldName(fieldName);
                             e.setFileName(name);
-                               throw new FileUploadIOException(e);
+                            throw new FileUploadIOException(e);
                         }
                     };
                 }
@@ -1152,7 +1152,7 @@ public abstract class FileUploadBase {
          * @return File name, if known, or null.
          */
         public String getFileName() {
-               return fileName;
+            return fileName;
         }
 
         /**
@@ -1160,7 +1160,7 @@ public abstract class FileUploadBase {
          * exception.
          */
         public void setFileName(String pFileName) {
-               fileName = pFileName;
+            fileName = pFileName;
         }
 
         /**
@@ -1169,7 +1169,7 @@ public abstract class FileUploadBase {
          * @return Field name, if known, or null.
          */
         public String getFieldName() {
-               return fieldName;
+            return fieldName;
         }
 
         /**
@@ -1177,7 +1177,7 @@ public abstract class FileUploadBase {
          * exception.
          */
         public void setFieldName(String pFieldName) {
-               fieldName = pFieldName;
+            fieldName = pFieldName;
         }
     }
 
index 6e91c64..688524e 100644 (file)
@@ -90,7 +90,7 @@ public class MultipartStream {
      * Internal class, which is used to invoke the
      * {@link ProgressListener}.
      */
-       public static class ProgressNotifier {
+    public static class ProgressNotifier {
         /** The listener to invoke.
          */
         private final ProgressListener listener;