Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4AF9D72EC for ; Sun, 4 Sep 2011 16:15:59 +0000 (UTC) Received: (qmail 72289 invoked by uid 500); 4 Sep 2011 16:15:58 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 71954 invoked by uid 500); 4 Sep 2011 16:15:55 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 71942 invoked by uid 99); 4 Sep 2011 16:15:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Sep 2011 16:15:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Sep 2011 16:15:51 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 70B79238897D for ; Sun, 4 Sep 2011 16:15:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1165064 - /commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ServletPathMapper.java Date: Sun, 04 Sep 2011 16:15:30 -0000 To: commits@commons.apache.org From: simonetripodi@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110904161530.70B79238897D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: simonetripodi Date: Sun Sep 4 16:15:30 2011 New Revision: 1165064 URL: http://svn.apache.org/viewvc?rev=1165064&view=rev Log: Command requires the generic type Modified: commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ServletPathMapper.java Modified: commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ServletPathMapper.java URL: http://svn.apache.org/viewvc/commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ServletPathMapper.java?rev=1165064&r1=1165063&r2=1165064&view=diff ============================================================================== --- commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ServletPathMapper.java (original) +++ commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ServletPathMapper.java Sun Sep 4 16:15:30 2011 @@ -33,10 +33,11 @@ import org.apache.commons.chain.generic. * an environment, a request for a context relative URI of "/foo.execute" * would cause the "/foo.execute" command to be loaded and executed.

* + * @param Type of the context associated with this command * @author Craig R. McClanahan */ -public class ServletPathMapper extends LookupCommand implements Command { +public class ServletPathMapper extends LookupCommand implements Command { // ------------------------------------------------------ Instance Variables @@ -117,7 +118,7 @@ public class ServletPathMapper extends L * * @since Chain 1.2 */ - protected Catalog getCatalog(Context context) { + protected Catalog getCatalog(C context) { Catalog catalog = (Catalog) context.get(getCatalogKey()); if (catalog == null) { catalog = super.getCatalog(context);