Return-Path: Delivered-To: apmail-commons-commits-archive@locus.apache.org Received: (qmail 5627 invoked from network); 21 Feb 2008 19:31:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2008 19:31:57 -0000 Received: (qmail 54086 invoked by uid 500); 21 Feb 2008 19:31:50 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 54036 invoked by uid 500); 21 Feb 2008 19:31:50 -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 54027 invoked by uid 99); 21 Feb 2008 19:31:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 11:31:50 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 19:31:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 781DD1A9838; Thu, 21 Feb 2008 11:31:34 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r629949 - /commons/proper/proxy/branches/proxy-1.0-work/src/main/java/org/apache/commons/proxy/interceptor/filter/SimpleFilter.java Date: Thu, 21 Feb 2008 19:31:33 -0000 To: commits@commons.apache.org From: jcarman@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080221193134.781DD1A9838@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jcarman Date: Thu Feb 21 11:31:27 2008 New Revision: 629949 URL: http://svn.apache.org/viewvc?rev=629949&view=rev Log: Added javadocs Modified: commons/proper/proxy/branches/proxy-1.0-work/src/main/java/org/apache/commons/proxy/interceptor/filter/SimpleFilter.java Modified: commons/proper/proxy/branches/proxy-1.0-work/src/main/java/org/apache/commons/proxy/interceptor/filter/SimpleFilter.java URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/proxy-1.0-work/src/main/java/org/apache/commons/proxy/interceptor/filter/SimpleFilter.java?rev=629949&r1=629948&r2=629949&view=diff ============================================================================== --- commons/proper/proxy/branches/proxy-1.0-work/src/main/java/org/apache/commons/proxy/interceptor/filter/SimpleFilter.java (original) +++ commons/proper/proxy/branches/proxy-1.0-work/src/main/java/org/apache/commons/proxy/interceptor/filter/SimpleFilter.java Thu Feb 21 11:31:27 2008 @@ -42,11 +42,18 @@ // Constructors //---------------------------------------------------------------------------------------------------------------------- + /** + * Creates a simple filter that accepts no methods. + */ public SimpleFilter() { this.methodNames = new HashSet(); } - + + /** + * Creates a simple filter that accepts methods matching the supplied names. + * @param methodNames the names + */ public SimpleFilter( String[] methodNames ) { this.methodNames = new HashSet( Arrays.asList( methodNames ) );