mirror of https://github.com/apache/lucene.git
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:
parent
bf4e0ab18c
commit
7227cb3e57
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue