cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1221776 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/multipart/AttachmentUtils.java
Date Wed, 21 Dec 2011 15:50:57 GMT
Author: sergeyb
Date: Wed Dec 21 15:50:56 2011
New Revision: 1221776

URL: http://svn.apache.org/viewvc?rev=1221776&view=rev
Log:
Fixing the multipart test failure

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/multipart/AttachmentUtils.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/multipart/AttachmentUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/multipart/AttachmentUtils.java?rev=1221776&r1=1221775&r2=1221776&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/multipart/AttachmentUtils.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/multipart/AttachmentUtils.java
Wed Dec 21 15:50:56 2011
@@ -117,6 +117,8 @@ public final class AttachmentUtils {
                 LOG.warning(errorMsg.toString());
                 throw new WebApplicationException(
                           new MultipartReadException(id.value(), id.type(), errorMsg.toString()));
+            } else {
+                return null;
             }
         }
         



Mime
View raw message