LUCENE-4756 - removed AE and CAS releasing on #close

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1443326 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tommaso Teofili 2013-02-07 07:19:14 +00:00
parent bf4e0ab18c
commit 7227cb3e57
1 changed files with 0 additions and 15 deletions

View File

@ -95,19 +95,4 @@ public abstract class BaseUIMATokenizer extends Tokenizer {
public void end() throws IOException {
iterator = null;
}
@Override
public void close() throws IOException {
super.close();
// release resources and ease GC
if (ae != null) {
ae.destroy();
ae = null;
}
if (cas != null) {
cas.release();
cas = null;
}
}
}