diff --git a/contrib/queries/src/java/org/apache/lucene/search/trie/ShiftAttribute.java b/contrib/queries/src/java/org/apache/lucene/search/trie/ShiftAttribute.java index 65282a051b2..308c23c0b59 100644 --- a/contrib/queries/src/java/org/apache/lucene/search/trie/ShiftAttribute.java +++ b/contrib/queries/src/java/org/apache/lucene/search/trie/ShiftAttribute.java @@ -36,7 +36,10 @@ public final class ShiftAttribute extends Attribute implements Cloneable, Serial return shift; } - void setShift(final int shift) { + /** + * Sets the shift value. + */ + public void setShift(final int shift) { this.shift = shift; }