mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-24 15:25:00 +08:00
Correct dataset close in java test (#919)
* Correct dataset close * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
04c504664b
commit
af7989e858
@ -100,7 +100,7 @@ public class TestH5Arw {
|
||||
if (H5aid >= 0)
|
||||
try {H5.H5Aclose(H5aid);} catch (Exception ex) {}
|
||||
if (H5did >= 0)
|
||||
try {H5.H5Aclose(H5did);} catch (Exception ex) {}
|
||||
try {H5.H5Dclose(H5did);} catch (Exception ex) {}
|
||||
if (H5fid > 0)
|
||||
try {H5.H5Fclose(H5fid);} catch (Exception ex) {}
|
||||
H5fid = HDF5Constants.H5I_INVALID_HID;
|
||||
|
Loading…
Reference in New Issue
Block a user