Return-Path: Delivered-To: apmail-incubator-jspwiki-commits-archive@minotaur.apache.org Received: (qmail 38903 invoked from network); 8 Jan 2010 08:12:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jan 2010 08:12:42 -0000 Received: (qmail 351 invoked by uid 500); 8 Jan 2010 08:12:42 -0000 Delivered-To: apmail-incubator-jspwiki-commits-archive@incubator.apache.org Received: (qmail 332 invoked by uid 500); 8 Jan 2010 08:12:42 -0000 Mailing-List: contact jspwiki-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-commits@incubator.apache.org Received: (qmail 323 invoked by uid 99); 8 Jan 2010 08:12:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 08:12:42 +0000 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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 08:12:41 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2753D2388978; Fri, 8 Jan 2010 08:12:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r897130 - in /incubator/jspwiki/trunk/src/java/org/apache/wiki: content/inspect/package.html ui/stripes/SpamInterceptor.java Date: Fri, 08 Jan 2010 08:12:20 -0000 To: jspwiki-commits@incubator.apache.org From: metskem@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100108081221.2753D2388978@eris.apache.org> Author: metskem Date: Fri Jan 8 08:12:19 2010 New Revision: 897130 URL: http://svn.apache.org/viewvc?rev=897130&view=rev Log: javadoc corrections Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/package.html incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamInterceptor.java Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/package.html URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/package.html?rev=897130&r1=897129&r2=897130&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/package.html (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/content/inspect/package.html Fri Jan 8 08:12:19 2010 @@ -81,24 +81,11 @@ decreases it) or has no effect. An optional String message passed to the constructor provides context for the change.
  • The {@link - org.apache.wiki.content.inspect.InspectionListener} class provides - callers with the ability to listen for Findings for a particular Topic. - Listeners are registered with an Inspector by calling {@link - org.apache.wiki.content.inspect.Inspection#addListener(Topic,InspectionListener)}. - An InspectionListener can arbitrarily halt processing by throwing an - {@link org.apache.wiki.content.inspect.InspectionInterruptedException}. - This will terminate the entire Inspection.
  • -
  • The {@link org.apache.wiki.content.inspect.ReputationManager} tracks the IP addresses of hosts that have modified content recently, along with the changes they have made. Callers (such as Inspectors) can add a host to the list of recent modifications by calling {@link org.apache.wiki.content.inspect.ReputationManager#addModifier(javax.servlet.http.HttpServletRequest,Change)}.
  • -

    In addition to these classes, this package includes a factory -class called {@link -org.apache.wiki.content.inspect.SpamInspectionFactory} that configures -an shared InspectionPlan for spam, which is configured once per -WikiEngine.

    \ No newline at end of file Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamInterceptor.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamInterceptor.java?rev=897130&r1=897129&r2=897130&view=diff ============================================================================== --- incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamInterceptor.java (original) +++ incubator/jspwiki/trunk/src/java/org/apache/wiki/ui/stripes/SpamInterceptor.java Fri Jan 8 08:12:19 2010 @@ -130,7 +130,7 @@ * creates a new {@link Inspection} that inspects each ActionBean property * indicated by the {@link SpamProtect#content()}. The * {@link InspectionPlan} for the Inspection is obtained by calling - * {@link SpamInspectionPlan#getInspectionPlan(WikiEngine, java.util.Properties)} + * {@link SpamInspectionPlan#getInspectionPlan(WikiEngine)} * . If any of the modifications are determined to be spam, a Stripes * {@link ValidationError} is added to the ActionBeanContext. *