summaryrefslogtreecommitdiffstats
path: root/java/examples/groups/H5Ex_G_Traverse.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/examples/groups/H5Ex_G_Traverse.java')
-rw-r--r--java/examples/groups/H5Ex_G_Traverse.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/examples/groups/H5Ex_G_Traverse.java b/java/examples/groups/H5Ex_G_Traverse.java
index 76ed6c8..61f2122 100644
--- a/java/examples/groups/H5Ex_G_Traverse.java
+++ b/java/examples/groups/H5Ex_G_Traverse.java
@@ -43,7 +43,7 @@ public class H5Ex_G_Traverse {
public static H5L_iterate_t iter_cb = new H5L_iter_callbackT();
private static void OpenGroup() {
- long file_id = -1;
+ long file_id = HDF5Constants.H5I_INVALID_HID;
H5O_info_t infobuf;
opdata od = new opdata();