diff --git a/lucene/core/src/java/org/apache/lucene/analysis/tokenattributes/CharTermAttributeImpl.java b/lucene/core/src/java/org/apache/lucene/analysis/tokenattributes/CharTermAttributeImpl.java index 273102cbb63..784330a6506 100644 --- a/lucene/core/src/java/org/apache/lucene/analysis/tokenattributes/CharTermAttributeImpl.java +++ b/lucene/core/src/java/org/apache/lucene/analysis/tokenattributes/CharTermAttributeImpl.java @@ -85,13 +85,11 @@ public class CharTermAttributeImpl extends AttributeImpl implements CharTermAttr // *** TermToBytesRefAttribute interface *** private BytesRef bytes = new BytesRef(MIN_BUFFER_SIZE); - // not until java 6 @Override @Override public int fillBytesRef() { return UnicodeUtil.UTF16toUTF8WithHash(termBuffer, 0, termLength, bytes); } - // not until java 6 @Override @Override public BytesRef getBytesRef() { return bytes;