Return-Path: X-Original-To: apmail-lucene-commits-archive@www.apache.org Delivered-To: apmail-lucene-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B3CA0BFDD for ; Fri, 6 Jan 2012 15:02:07 +0000 (UTC) Received: (qmail 90200 invoked by uid 500); 6 Jan 2012 15:02:01 -0000 Mailing-List: contact commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list commits@lucene.apache.org Received: (qmail 89644 invoked by uid 99); 6 Jan 2012 15:01:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2012 15:01:58 +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; Fri, 06 Jan 2012 15:01:57 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 03DCA23888D2; Fri, 6 Jan 2012 15:01:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1228220 - in /lucene/dev/branches/lucene3305/modules/analysis/kuromoji/src/java/org/apache/lucene/analysis/kuromoji: KuromojiAnalyzer.java util/CSVUtil.java viterbi/ViterbiNode.java Date: Fri, 06 Jan 2012 15:01:36 -0000 To: commits@lucene.apache.org From: uschindler@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120106150137.03DCA23888D2@eris.apache.org> Author: uschindler Date: Fri Jan 6 15:01:36 2012 New Revision: 1228220 URL: http://svn.apache.org/viewvc?rev=1228220&view=rev Log: LUCENE-3305: Add private/final/... for various classes Modified: lucene/dev/branches/lucene3305/modules/analysis/kuromoji/src/java/org/apache/lucene/analysis/kuromoji/KuromojiAnalyzer.java lucene/dev/branches/lucene3305/modules/analysis/kuromoji/src/java/org/apache/lucene/analysis/kuromoji/util/CSVUtil.java lucene/dev/branches/lucene3305/modules/analysis/kuromoji/src/java/org/apache/lucene/analysis/kuromoji/viterbi/ViterbiNode.java Modified: lucene/dev/branches/lucene3305/modules/analysis/kuromoji/src/java/org/apache/lucene/analysis/kuromoji/KuromojiAnalyzer.java URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3305/modules/analysis/kuromoji/src/java/org/apache/lucene/analysis/kuromoji/KuromojiAnalyzer.java?rev=1228220&r1=1228219&r2=1228220&view=diff ============================================================================== --- lucene/dev/branches/lucene3305/modules/analysis/kuromoji/src/java/org/apache/lucene/analysis/kuromoji/KuromojiAnalyzer.java (original) +++ lucene/dev/branches/lucene3305/modules/analysis/kuromoji/src/java/org/apache/lucene/analysis/kuromoji/KuromojiAnalyzer.java Fri Jan 6 15:01:36 2012 @@ -23,7 +23,7 @@ import org.apache.lucene.analysis.Analyz import org.apache.lucene.analysis.Tokenizer; public class KuromojiAnalyzer extends Analyzer { - org.apache.lucene.analysis.kuromoji.Tokenizer tokenizer; + private final org.apache.lucene.analysis.kuromoji.Tokenizer tokenizer; public KuromojiAnalyzer(org.apache.lucene.analysis.kuromoji.Tokenizer tokenizer) { this.tokenizer = tokenizer; Modified: lucene/dev/branches/lucene3305/modules/analysis/kuromoji/src/java/org/apache/lucene/analysis/kuromoji/util/CSVUtil.java URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3305/modules/analysis/kuromoji/src/java/org/apache/lucene/analysis/kuromoji/util/CSVUtil.java?rev=1228220&r1=1228219&r2=1228220&view=diff ============================================================================== --- lucene/dev/branches/lucene3305/modules/analysis/kuromoji/src/java/org/apache/lucene/analysis/kuromoji/util/CSVUtil.java (original) +++ lucene/dev/branches/lucene3305/modules/analysis/kuromoji/src/java/org/apache/lucene/analysis/kuromoji/util/CSVUtil.java Fri Jan 6 15:01:36 2012 @@ -21,7 +21,7 @@ import java.util.ArrayList; import java.util.regex.Matcher; import java.util.regex.Pattern; -public class CSVUtil { +public final class CSVUtil { private static final char QUOTE = '"'; private static final char COMMA = ','; @@ -30,6 +30,8 @@ public class CSVUtil { private static final String ESCAPED_QUOTE = "\"\""; + private CSVUtil() {} // no instance!!! + /** * Parse CSV line * @param line Modified: lucene/dev/branches/lucene3305/modules/analysis/kuromoji/src/java/org/apache/lucene/analysis/kuromoji/viterbi/ViterbiNode.java URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3305/modules/analysis/kuromoji/src/java/org/apache/lucene/analysis/kuromoji/viterbi/ViterbiNode.java?rev=1228220&r1=1228219&r2=1228220&view=diff ============================================================================== --- lucene/dev/branches/lucene3305/modules/analysis/kuromoji/src/java/org/apache/lucene/analysis/kuromoji/viterbi/ViterbiNode.java (original) +++ lucene/dev/branches/lucene3305/modules/analysis/kuromoji/src/java/org/apache/lucene/analysis/kuromoji/viterbi/ViterbiNode.java Fri Jan 6 15:01:36 2012 @@ -17,7 +17,7 @@ package org.apache.lucene.analysis.kurom * limitations under the License. */ -public class ViterbiNode { +public final class ViterbiNode { public enum Type { KNOWN, UNKNOWN,