abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dand...@apache.org
Subject svn commit: r617212 - /incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/RouteManager.java
Date Thu, 31 Jan 2008 20:19:45 GMT
Author: dandiep
Date: Thu Jan 31 12:19:37 2008
New Revision: 617212

URL: http://svn.apache.org/viewvc?rev=617212&view=rev
Log:
Detweak ABDERA-95. We should be creating a new map afterall.

Modified:
    incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/RouteManager.java

Modified: incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/RouteManager.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/RouteManager.java?rev=617212&r1=617211&r2=617212&view=diff
==============================================================================
--- incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/RouteManager.java
(original)
+++ incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/RouteManager.java
Thu Jan 31 12:19:37 2008
@@ -132,7 +132,7 @@
     // null;
     if (route != null) {
       if (param instanceof Map) {
-        Map<String, Object> map = (Map<String, Object>)param;
+        Map<String, Object> map = new HashMap<String,Object>((Map<String,
Object>)param);
         for (String var : route.getVariables()) {
           Object value = context.getTarget().getParameter(var);
           if (!map.containsKey(var) && value != null) {



Mime
View raw message