From 7dc14e4b47f3e80b7bc65b29bb6cf4aabf5bc43d Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Wed, 14 Jan 2015 23:52:16 +0000 Subject: [PATCH] LUCENE-6177: fix typo git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651901 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/lucene/analysis/custom/CustomAnalyzer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/custom/CustomAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/custom/CustomAnalyzer.java index f03630c889d..b836f02965f 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/custom/CustomAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/custom/CustomAnalyzer.java @@ -48,7 +48,7 @@ import org.apache.lucene.util.Version; * {@link TokenFilterFactory}, and {@link CharFilterFactory}. *

You can create an instance of this Analyzer using the builder: *

- * Analyzer ana = CustomAnalyzer.builder(Path.get("/path/to/config/dir"))
+ * Analyzer ana = CustomAnalyzer.builder(Paths.get("/path/to/config/dir"))
  *   .withTokenizer("standard")
  *   .addTokenFilter("standard")
  *   .addTokenFilter("lowercase")