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);
}