hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r917751 - /httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NHttpRequestHandlerRegistry.java
Date Mon, 01 Mar 2010 22:07:33 GMT
Author: olegk
Date: Mon Mar  1 22:07:33 2010
New Revision: 917751

URL: http://svn.apache.org/viewvc?rev=917751&view=rev
Log:
Replaced deprecated method

Modified:
    httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NHttpRequestHandlerRegistry.java

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NHttpRequestHandlerRegistry.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NHttpRequestHandlerRegistry.java?rev=917751&r1=917750&r2=917751&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NHttpRequestHandlerRegistry.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/NHttpRequestHandlerRegistry.java
Mon Mar  1 22:07:33 2010
@@ -81,7 +81,7 @@
      * @param map the map containing handlers keyed by their URI patterns.
      */
     public void setHandlers(final Map<String, ? extends NHttpRequestHandler> map) {
-        matcher.setHandlers(map);
+        matcher.setObjects(map);
     }
 
     public NHttpRequestHandler lookup(String requestURI) {



Mime
View raw message