mirror of https://github.com/apache/lucene.git
LUCENE-5892: Missed the covariant return type.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618628 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
394baa3b6e
commit
b08f57d7c2
|
@ -68,7 +68,7 @@ public class CharsRefBuilder implements Appendable {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Appendable append(CharSequence csq) {
|
public CharsRefBuilder append(CharSequence csq) {
|
||||||
if (csq == null) {
|
if (csq == null) {
|
||||||
return append(NULL_STRING);
|
return append(NULL_STRING);
|
||||||
}
|
}
|
||||||
|
@ -76,7 +76,7 @@ public class CharsRefBuilder implements Appendable {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Appendable append(CharSequence csq, int start, int end) {
|
public CharsRefBuilder append(CharSequence csq, int start, int end) {
|
||||||
if (csq == null) {
|
if (csq == null) {
|
||||||
return append(NULL_STRING);
|
return append(NULL_STRING);
|
||||||
}
|
}
|
||||||
|
@ -88,7 +88,7 @@ public class CharsRefBuilder implements Appendable {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Appendable append(char c) {
|
public CharsRefBuilder append(char c) {
|
||||||
grow(ref.length + 1);
|
grow(ref.length + 1);
|
||||||
setCharAt(ref.length++, c);
|
setCharAt(ref.length++, c);
|
||||||
return this;
|
return this;
|
||||||
|
|
Loading…
Reference in New Issue