summaryrefslogtreecommitdiffstats
path: root/java/src/hdf/hdf5lib
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-03-16 16:58:03 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-03-16 16:58:03 (GMT)
commit1f5286ddf2cdf6162bfb9baab18e067658fbfabf (patch)
tree353049ba0d99c943eb917a640a1a2f9a39c68ada /java/src/hdf/hdf5lib
parent0647698684f004c518d2807105db5fcaf2c22e7c (diff)
downloadhdf5-1f5286ddf2cdf6162bfb9baab18e067658fbfabf.zip
hdf5-1f5286ddf2cdf6162bfb9baab18e067658fbfabf.tar.gz
hdf5-1f5286ddf2cdf6162bfb9baab18e067658fbfabf.tar.bz2
[svn-r29447] Correct signature of H5Pexist to return boolean
Diffstat (limited to 'java/src/hdf/hdf5lib')
-rw-r--r--java/src/hdf/hdf5lib/H5.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/java/src/hdf/hdf5lib/H5.java b/java/src/hdf/hdf5lib/H5.java
index fbfc40a..b8d9147 100644
--- a/java/src/hdf/hdf5lib/H5.java
+++ b/java/src/hdf/hdf5lib/H5.java
@@ -4360,13 +4360,12 @@ public class H5 implements java.io.Serializable {
* IN: Identifier for the property to query
* @param name
* IN: Name of property to check for
- * @return a positive value if the property exists in the property object; zero if the property does not exist; a
- * negative value if failed
+ * @return a true value if the property exists in the property object; false if the property does not exist;
*
* @exception HDF5LibraryException
* - Error from the HDF-5 Library.
*/
- public synchronized static native int H5Pexist(long plid, String name) throws HDF5LibraryException;
+ public synchronized static native boolean H5Pexist(long plid, String name) throws HDF5LibraryException;
/**
* H5Pget_size retrieves the size of a property's value in bytes