summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-08-18 16:02:29 (GMT)
committerGitHub <noreply@github.com>2021-08-18 16:02:29 (GMT)
commitaf7989e858d383322ced07873c2e19b433e74988 (patch)
treec8f2b8fe227ac69effb9d269789a4f465964c609 /java
parent04c504664b2cbb63b6a5cdf8c58a93dc65699f6d (diff)
downloadhdf5-af7989e858d383322ced07873c2e19b433e74988.zip
hdf5-af7989e858d383322ced07873c2e19b433e74988.tar.gz
hdf5-af7989e858d383322ced07873c2e19b433e74988.tar.bz2
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>
Diffstat (limited to 'java')
-rw-r--r--java/test/TestH5Arw.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/test/TestH5Arw.java b/java/test/TestH5Arw.java
index 282b736..8ce2fee 100644
--- a/java/test/TestH5Arw.java
+++ b/java/test/TestH5Arw.java
@@ -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;