From e2d2a410d02c558bcf04e56a78a6d2c6f3df4026 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Thu, 28 Jun 2018 15:27:08 -0500 Subject: Remove writeVL option --- java/src/hdf/hdf5lib/H5.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/java/src/hdf/hdf5lib/H5.java b/java/src/hdf/hdf5lib/H5.java index 987cc1d..f58623e 100644 --- a/java/src/hdf/hdf5lib/H5.java +++ b/java/src/hdf/hdf5lib/H5.java @@ -2006,8 +2006,9 @@ public class H5 implements java.io.Serializable { (double[]) obj, isCriticalPinning); } else if (is1D && (dataClass.getComponentType() == String.class)) { - log.trace("H5DwriteVL type"); - status = H5DwriteVL(dataset_id, mem_type_id, mem_space_id, file_space_id, xfer_plist_id, (Object[]) obj); + log.trace("H5Dwrite_string type"); + status = H5Dwrite_string(dataset_id, mem_type_id, mem_space_id, file_space_id, xfer_plist_id, + (String[]) obj); } else { HDFArray theArray = new HDFArray(obj); -- cgit v0.12