diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-06-21 16:34:13 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-06-21 16:34:13 (GMT) |
commit | 3f47c3886871718c82e2a39bdf49ced3200236de (patch) | |
tree | 5ce8b472866cd06de58b0a0eb4f40e63fc0ce47f /java | |
parent | 651b728a62bf2cda702270a9ccb78233051da638 (diff) | |
download | hdf5-3f47c3886871718c82e2a39bdf49ced3200236de.zip hdf5-3f47c3886871718c82e2a39bdf49ced3200236de.tar.gz hdf5-3f47c3886871718c82e2a39bdf49ced3200236de.tar.bz2 |
fix whitespace
Diffstat (limited to 'java')
-rw-r--r-- | java/src/jni/h5dImp.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/java/src/jni/h5dImp.c b/java/src/jni/h5dImp.c index 19013db..f23b790 100644 --- a/java/src/jni/h5dImp.c +++ b/java/src/jni/h5dImp.c @@ -1012,17 +1012,17 @@ Java_hdf_hdf5lib_H5_H5DreadVL else { isStr = H5Tdetect_class((hid_t)mem_type_id, H5T_STRING); if (H5Tget_class((hid_t)mem_type_id) == H5T_COMPOUND) { - unsigned i; - int nm = H5Tget_nmembers(mem_type_id); - for(i = 0; i <nm; i++) { - hid_t nested_tid = H5Tget_member_type((hid_t)mem_type_id, i); - isComplex = H5Tdetect_class((hid_t)nested_tid, H5T_COMPOUND) || - H5Tdetect_class((hid_t)nested_tid, H5T_VLEN); - H5Tclose(nested_tid); - } + unsigned i; + int nm = H5Tget_nmembers(mem_type_id); + for(i = 0; i <nm; i++) { + hid_t nested_tid = H5Tget_member_type((hid_t)mem_type_id, i); + isComplex = H5Tdetect_class((hid_t)nested_tid, H5T_COMPOUND) || + H5Tdetect_class((hid_t)nested_tid, H5T_VLEN); + H5Tclose(nested_tid); } - else if (H5Tget_class((hid_t)mem_type_id) == H5T_VLEN) { - isVlenStr = 1; /* strings created by H5Tvlen_create( H5T_C_S1) */ + } + else if (H5Tget_class((hid_t)mem_type_id) == H5T_VLEN) { + isVlenStr = 1; /* strings created by H5Tvlen_create( H5T_C_S1) */ } if (isStr == 0 || isComplex>0 || isVlenStr) { status = H5DreadVL_asstr(env, (hid_t)dataset_id, (hid_t)mem_type_id, |