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