Skip to content

Apache Lucene open-source search software

Fix javadocs.

Uwe Schindler9639baaa3226
diff --git a/lucene/core/src/java/org/apache/lucene/codecs/FilterCodec.java b/lucene/core/src/java/org/apache/lucene/codecs/FilterCodec.java
index 85ef45593c3..4dfae68232a 100644
--- a/lucene/core/src/java/org/apache/lucene/codecs/FilterCodec.java
+++ b/lucene/core/src/java/org/apache/lucene/codecs/FilterCodec.java
@@ -47,9 +47,13 @@ package org.apache.lucene.codecs;
*/
public abstract class FilterCodec extends Codec {
+ /** The codec to filter. */
protected final Codec delegate;
- /** Sole constructor. */
+ /** Sole constructor. When subclassing this codec,
+ * create a no-arg ctor and pass the delegate codec
+ * and a unique name to this ctor.
+ */
protected FilterCodec(String name, Codec delegate) {
super(name);
this.delegate = delegate;