summaryrefslogtreecommitdiffstats
path: root/java/examples/groups/H5Ex_G_Iterate.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/examples/groups/H5Ex_G_Iterate.java')
-rw-r--r--java/examples/groups/H5Ex_G_Iterate.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/examples/groups/H5Ex_G_Iterate.java b/java/examples/groups/H5Ex_G_Iterate.java
index 71361f8..02798eb 100644
--- a/java/examples/groups/H5Ex_G_Iterate.java
+++ b/java/examples/groups/H5Ex_G_Iterate.java
@@ -58,7 +58,7 @@ public class H5Ex_G_Iterate {
}
private static void do_iterate() {
- long file_id = -1;
+ long file_id = HDF5Constants.H5I_INVALID_HID;
// Open a file using default properties.
try {