Author: sergeyb
Date: Tue May 29 17:38:48 2012
New Revision: 1343870

URL: http://svn.apache.org/viewvc?rev=1343870&view=rev
Log:
Merged revisions 1343868 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1343868 | sergeyb | 2012-05-29 18:36:29 +0100 (Tue, 29 May 2012) | 1 line
  
  Returning 400 in case of missing multiparts
........

Modified:
    cxf/branches/2.5.x-fixes/   (props changed)
    
cxf/branches/2.5.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/multipart/AttachmentUtils.java

Propchange: cxf/branches/2.5.x-fixes/
------------------------------------------------------------------------------
  Merged /cxf/trunk:r1343868

Propchange: cxf/branches/2.5.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: 
cxf/branches/2.5.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/multipart/AttachmentUtils.java
URL: 
http://svn.apache.org/viewvc/cxf/branches/2.5.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/multipart/AttachmentUtils.java?rev=1343870&r1=1343869&r2=1343870&view=diff
==============================================================================
--- 
cxf/branches/2.5.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/multipart/AttachmentUtils.java
 (original)
+++ 
cxf/branches/2.5.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/multipart/AttachmentUtils.java
 Tue May 29 17:38:48 2012
@@ -117,7 +117,7 @@ public final class AttachmentUtils {
                                                            mt.toString());
                 LOG.warning(errorMsg.toString());
                 throw new WebApplicationException(
-                          new MultipartReadException(id.value(), id.type(), 
errorMsg.toString()));
+                          new MultipartReadException(id.value(), id.type(), 
errorMsg.toString()), 400);
             } else {
                 return null;
             }


Reply via email to