commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mart...@apache.org
Subject cvs commit: jakarta-commons/fileupload/src/java/org/apache/commons/fileupload FileItem.java FileUpload.java
Date Sat, 01 Mar 2003 21:15:49 GMT
martinc     2003/03/01 13:15:49

  Modified:    fileupload/src/java/org/apache/commons/fileupload
                        FileItem.java FileUpload.java
  Log:
  Clean up Checkstyle complaints.
  
  Revision  Changes    Path
  1.12      +5 -5      jakarta-commons/fileupload/src/java/org/apache/commons/fileupload/FileItem.java
  
  Index: FileItem.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/fileupload/src/java/org/apache/commons/fileupload/FileItem.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- FileItem.java	25 Dec 2002 04:05:07 -0000	1.11
  +++ FileItem.java	1 Mar 2003 21:15:49 -0000	1.12
  @@ -289,6 +289,6 @@
        *
        * @exception IOException if an error occurs.
        */
  -    public OutputStream getOutputStream() throws IOException;
  +    OutputStream getOutputStream() throws IOException;
   
   }
  
  
  
  1.16      +12 -12    jakarta-commons/fileupload/src/java/org/apache/commons/fileupload/FileUpload.java
  
  Index: FileUpload.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/fileupload/src/java/org/apache/commons/fileupload/FileUpload.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- FileUpload.java	25 Dec 2002 04:05:07 -0000	1.15
  +++ FileUpload.java	1 Mar 2003 21:15:49 -0000	1.16
  @@ -399,14 +399,14 @@
   
           if (requestSize == -1)
           {
  -            throw new FileUploadException("the request was rejected because " +
  -                "it's size is unknown");
  +            throw new FileUploadException("the request was rejected because "
  +                + "it's size is unknown");
           }
   
           if (sizeMax >= 0 && requestSize > sizeMax)
           {
  -            throw new FileUploadException("the request was rejected because " +
  -                "it's size exceeds allowed range");
  +            throw new FileUploadException("the request was rejected because "
  +                + "it's size exceeds allowed range");
           }
   
           try
  @@ -517,8 +517,8 @@
           catch (IOException e)
           {
               throw new FileUploadException(
  -                "Processing of " + MULTIPART_FORM_DATA +
  -                    " request failed. " + e.getMessage());
  +                "Processing of " + MULTIPART_FORM_DATA
  +                    + " request failed. " + e.getMessage());
           }
   
           return items;
  @@ -734,8 +734,8 @@
                           // More that one heder of that name exists,
                           // append to the list.
                           headers.put(headerName,
  -                                    getHeader(headers, headerName) + ',' +
  -                                    headerValue);
  +                                    getHeader(headers, headerName) + ','
  +                                        + headerValue);
                       }
                       else
                       {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message