Skip to content

Apache Lucene open-source search software

fix jdoc typo

Michael McCandless23f3a7c31157
diff --git a/lucene/src/java/org/apache/lucene/index/codecs/CodecProvider.java b/lucene/src/java/org/apache/lucene/index/codecs/CodecProvider.java
index 27739654fa6..260f4f73642 100644
--- a/lucene/src/java/org/apache/lucene/index/codecs/CodecProvider.java
+++ b/lucene/src/java/org/apache/lucene/index/codecs/CodecProvider.java
@@ -103,9 +103,9 @@ public class CodecProvider {
}
/**
- * Sets the {@link Codec} for a given field. Not that setting a fields code is
- * write-once. If the fields codec is already set this method will throw an
- * {@link IllegalArgumentException}
+ * Sets the {@link Codec} for a given field. Not that setting a field's codec is
+ * write-once. If the field's codec is already set this method will throw an
+ * {@link IllegalArgumentException}.
*
* @param field
* the name of the field