summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-05-06 17:33:04 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-05-06 17:33:04 (GMT)
commit17461c57b83d315ebe9cfd8d60c1401b2cc3bacb (patch)
tree3015cdb87046325c295a98fdea7eab66243f50d0 /java
parent411476adbc1a0f8c6a41fa08cdd70a65b6c12b82 (diff)
downloadhdf5-17461c57b83d315ebe9cfd8d60c1401b2cc3bacb.zip
hdf5-17461c57b83d315ebe9cfd8d60c1401b2cc3bacb.tar.gz
hdf5-17461c57b83d315ebe9cfd8d60c1401b2cc3bacb.tar.bz2
Add github actions file and cleanup java
Diffstat (limited to 'java')
-rw-r--r--java/src/jni/h5sImp.c2
-rw-r--r--java/src/jni/h5sImp.h2
-rw-r--r--java/test/TestH5E.java4
3 files changed, 5 insertions, 3 deletions
diff --git a/java/src/jni/h5sImp.c b/java/src/jni/h5sImp.c
index 8d84314..4dfa225 100644
--- a/java/src/jni/h5sImp.c
+++ b/java/src/jni/h5sImp.c
@@ -165,7 +165,7 @@ done:
/* 10/28/99 -- added code to copy the array -- this is not used,
* but serves as a reminder in case we try to implement this in
* the future....
- */
+ */
/*
* Note: the argument coord is actually long coord[][], which has been
* flattened by the caller.
diff --git a/java/src/jni/h5sImp.h b/java/src/jni/h5sImp.h
index a07d4c5..cea2ebf 100644
--- a/java/src/jni/h5sImp.h
+++ b/java/src/jni/h5sImp.h
@@ -52,7 +52,7 @@ Java_hdf_hdf5lib_H5__1H5Scopy
/* 10/28/99 -- added code to copy the array -- this is not used,
* but serves as a reminder in case we try to implement this in
* the future....
- */
+ */
/*
* Note: the argument coord is actually long coord[][], which has been
* flattened by the caller.
diff --git a/java/test/TestH5E.java b/java/test/TestH5E.java
index 1f4e658..ad50d62 100644
--- a/java/test/TestH5E.java
+++ b/java/test/TestH5E.java
@@ -85,6 +85,7 @@ public class TestH5E {
long errnum = hdferr.getMajorErrorNumber();
int[] error_msg_type = { HDF5Constants.H5E_MAJOR };
String msg = null;
+
try {
msg = H5.H5Eget_msg(errnum, error_msg_type);
}
@@ -111,6 +112,7 @@ public class TestH5E {
long errnum = hdferr.getMinorErrorNumber();
int[] error_msg_type = { HDF5Constants.H5E_MINOR };
String msg = null;
+
try {
msg = H5.H5Eget_msg(errnum, error_msg_type);
}
@@ -144,7 +146,7 @@ public class TestH5E {
catch (Throwable err) {
}
- // save current stack contents
+ // Save current stack contents
try {
current_stackid = H5.H5Eget_current_stack();
}