mirror of https://github.com/apache/lucene.git
LUCENE-3731: remove unnecessary code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244714 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
afe6b6983b
commit
e51795be39
|
@ -76,7 +76,6 @@ public final class UIMAAnnotationsTokenizer extends BaseUIMATokenizer {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void end() throws IOException {
|
public void end() throws IOException {
|
||||||
if (offsetAttr.endOffset() < finalOffset)
|
|
||||||
offsetAttr.setOffset(finalOffset, finalOffset);
|
offsetAttr.setOffset(finalOffset, finalOffset);
|
||||||
super.end();
|
super.end();
|
||||||
}
|
}
|
||||||
|
|
|
@ -91,7 +91,6 @@ public final class UIMATypeAwareAnnotationsTokenizer extends BaseUIMATokenizer {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void end() throws IOException {
|
public void end() throws IOException {
|
||||||
if (offsetAttr.endOffset() < finalOffset)
|
|
||||||
offsetAttr.setOffset(finalOffset, finalOffset);
|
offsetAttr.setOffset(finalOffset, finalOffset);
|
||||||
super.end();
|
super.end();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue