Skip to content

Commit

Permalink
Correct dataset close in java test #919 (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF authored Aug 19, 2021
1 parent 0704eb1 commit cde9951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/test/TestH5Arw.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public void closeH5file() throws HDF5LibraryException {
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;
Expand Down

0 comments on commit cde9951

Please sign in to comment.