diff options
Diffstat (limited to 'java/examples/groups/H5Ex_G_Iterate.java')
-rw-r--r-- | java/examples/groups/H5Ex_G_Iterate.java | 2 |
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 47f55fe..af46712 100644 --- a/java/examples/groups/H5Ex_G_Iterate.java +++ b/java/examples/groups/H5Ex_G_Iterate.java @@ -56,7 +56,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 { |