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:
Allen Byrne 2021-08-18 11:02:29 -05:00 committed by GitHub
parent 04c504664b
commit af7989e858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;