mirror of https://github.com/apache/lucene.git
remove obselete comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531485 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b52cb3e6d4
commit
66f2fdcf30
|
@ -85,13 +85,11 @@ public class CharTermAttributeImpl extends AttributeImpl implements CharTermAttr
|
||||||
// *** TermToBytesRefAttribute interface ***
|
// *** TermToBytesRefAttribute interface ***
|
||||||
private BytesRef bytes = new BytesRef(MIN_BUFFER_SIZE);
|
private BytesRef bytes = new BytesRef(MIN_BUFFER_SIZE);
|
||||||
|
|
||||||
// not until java 6 @Override
|
|
||||||
@Override
|
@Override
|
||||||
public int fillBytesRef() {
|
public int fillBytesRef() {
|
||||||
return UnicodeUtil.UTF16toUTF8WithHash(termBuffer, 0, termLength, bytes);
|
return UnicodeUtil.UTF16toUTF8WithHash(termBuffer, 0, termLength, bytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
// not until java 6 @Override
|
|
||||||
@Override
|
@Override
|
||||||
public BytesRef getBytesRef() {
|
public BytesRef getBytesRef() {
|
||||||
return bytes;
|
return bytes;
|
||||||
|
|
Loading…
Reference in New Issue