Merge "Fix ObjectReader resources leak"
This commit is contained in:
commit
faf0a8f61d
|
@ -429,7 +429,7 @@ public BitmapIndex getBitmapIndex() throws IOException {
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public void release() {
|
public void release() {
|
||||||
close();
|
// Do nothing.
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -442,6 +442,6 @@ public void release() {
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void close() {
|
public void close() {
|
||||||
// Do nothing.
|
release();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue