You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2012/09/13 12:17:41 UTC

svn commit: r1384265 - /camel/branches/camel-2.9.x/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/RestletComponent.java

Author: ningjiang
Date: Thu Sep 13 10:17:40 2012
New Revision: 1384265

URL: http://svn.apache.org/viewvc?rev=1384265&view=rev
Log:
Fixed the build error of camel-restlet

Modified:
    camel/branches/camel-2.9.x/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/RestletComponent.java

Modified: camel/branches/camel-2.9.x/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/RestletComponent.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/RestletComponent.java?rev=1384265&r1=1384264&r2=1384265&view=diff
==============================================================================
--- camel/branches/camel-2.9.x/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/RestletComponent.java (original)
+++ camel/branches/camel-2.9.x/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/RestletComponent.java Thu Sep 13 10:17:40 2012
@@ -76,7 +76,8 @@ public class RestletComponent extends He
     }
 
     @Override
-    protected Endpoint createEndpoint(String uri, String remaining, Map<String, Object> parameters) throws Exception {
+    @SuppressWarnings({"unchecked", "rawtypes"})
+    protected Endpoint createEndpoint(String uri, String remaining, Map parameters) throws Exception {
         RestletEndpoint result = new RestletEndpoint(this, remaining);
         setEndpointHeaderFilterStrategy(result);
         setProperties(result, parameters);