mirror of https://github.com/apache/openjpa.git
OPENJPA-415 remove AbstractResultList.finalize() method.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@588089 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8a67bc2813
commit
1af3d93ca7
|
@ -84,11 +84,6 @@ public abstract class AbstractResultList implements ResultList {
|
|||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
protected void finalize() throws Throwable {
|
||||
super.finalize();
|
||||
close();
|
||||
}
|
||||
|
||||
protected void assertOpen() {
|
||||
if (isClosed())
|
||||
throw new NoSuchElementException(_loc.get("closed").getMessage());
|
||||
|
|
Loading…
Reference in New Issue