Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-6177: fix typo

Uwe Schindler7dc14e4b47f3
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}.
* <p>You can create an instance of this Analyzer using the builder:
* <pre class="prettyprint">
- * Analyzer ana = CustomAnalyzer.builder(Path.get(&quot;/path/to/config/dir&quot;))
+ * Analyzer ana = CustomAnalyzer.builder(Paths.get(&quot;/path/to/config/dir&quot;))
* .withTokenizer(&quot;standard&quot;)
* .addTokenFilter(&quot;standard&quot;)
* .addTokenFilter(&quot;lowercase&quot;)