cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r480759 - in /incubator/cxf/trunk: common/common/pom.xml rt/core/src/main/java/org/apache/cxf/binding/attachment/AttachmentDeserializer.java rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/AnnotationHandlerChainBuilder.java
Date Wed, 29 Nov 2006 23:01:28 GMT
Author: dkulp
Date: Wed Nov 29 15:01:24 2006
New Revision: 480759

URL: http://svn.apache.org/viewvc?view=rev&rev=480759
Log:
Fix eclipse warnings, update repository id to be the "normal" so proxies will work

Modified:
    incubator/cxf/trunk/common/common/pom.xml
    incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/binding/attachment/AttachmentDeserializer.java
    incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/AnnotationHandlerChainBuilder.java

Modified: incubator/cxf/trunk/common/common/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/common/pom.xml?view=diff&rev=480759&r1=480758&r2=480759
==============================================================================
--- incubator/cxf/trunk/common/common/pom.xml (original)
+++ incubator/cxf/trunk/common/common/pom.xml Wed Nov 29 15:01:24 2006
@@ -130,7 +130,7 @@
     <!-- will remove this after it is got sync to central repository -->
     <repositories>
         <repository>
-	    <id>dev.java.net</id>
+	    <id>java.net</id>
 	    <name>jsr181 temp repository</name>
 	    <url>https://maven-repository.dev.java.net/nonav/repository</url>
 	    <layout>legacy</layout>

Modified: incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/binding/attachment/AttachmentDeserializer.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/binding/attachment/AttachmentDeserializer.java?view=diff&rev=480759&r1=480758&r2=480759
==============================================================================
--- incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/binding/attachment/AttachmentDeserializer.java
(original)
+++ incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/binding/attachment/AttachmentDeserializer.java
Wed Nov 29 15:01:24 2006
@@ -37,6 +37,7 @@
 import javax.mail.MessagingException;
 import javax.mail.internet.InternetHeaders;
 
+import org.apache.cxf.helpers.CastUtils;
 import org.apache.cxf.helpers.HttpHeaderHelper;
 import org.apache.cxf.io.AbstractCachedOutputStream;
 import org.apache.cxf.message.Attachment;
@@ -71,7 +72,7 @@
         Map<String, List<String>> httpHeaders;
         // processing message if its multi-part/form-related
         try {
-            httpHeaders = (Map<String, List<String>>) message.get(Message.PROTOCOL_HEADERS);
+            httpHeaders = CastUtils.cast((Map<?, ?>)message.get(Message.PROTOCOL_HEADERS));
             if (httpHeaders == null) {
                 return false;
             } else {

Modified: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/AnnotationHandlerChainBuilder.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/AnnotationHandlerChainBuilder.java?view=diff&rev=480759&r1=480758&r2=480759
==============================================================================
--- incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/AnnotationHandlerChainBuilder.java
(original)
+++ incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/AnnotationHandlerChainBuilder.java
Wed Nov 29 15:01:24 2006
@@ -140,16 +140,9 @@
             return ann.file();
         }
 
-        public String getChainName() {
-            return ann.name();
-        }
-
         public void validate() {
             if (null == ann.file() || "".equals(ann.file())) {
                 throw new WebServiceException(BUNDLE.getString("ANNOTATION_WITHOUT_URL_EXC"));
-            }
-            if (null == ann.name() || "".equals(ann.name())) {
-                LOG.fine("no handler name specified, defaulting to first declared");
             }
         }
 



Mime
View raw message