commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1165045 - /commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/PathInfoMapper.java
Date Sun, 04 Sep 2011 15:06:06 GMT
Author: simonetripodi
Date: Sun Sep  4 15:06:06 2011
New Revision: 1165045

URL: http://svn.apache.org/viewvc?rev=1165045&view=rev
Log:
used the non-deprecated getCatalogKey() variant, as suggested in the javadoc

Modified:
    commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/PathInfoMapper.java

Modified: commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/PathInfoMapper.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/PathInfoMapper.java?rev=1165045&r1=1165044&r2=1165045&view=diff
==============================================================================
--- commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/PathInfoMapper.java
(original)
+++ commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/PathInfoMapper.java
Sun Sep  4 15:06:06 2011
@@ -119,7 +119,7 @@ public class PathInfoMapper<C extends Co
      * @since Chain 1.2
      */
     protected Catalog getCatalog(C context) {
-        Catalog catalog = (Catalog) context.get(getCatalogKey());
+        Catalog catalog = (Catalog) context.get(getCatalogName());
         if (catalog == null) {
             catalog = super.getCatalog(context);
         }



Mime
View raw message