summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-06-06 19:38:59 (GMT)
committerGitHub <noreply@github.com>2023-06-06 19:38:59 (GMT)
commit57c71cb983649b6831e7da4b465893e4fb0f8f09 (patch)
tree03cadf4cdf616e16a4f0122e26abe48aa3301843
parent1a2d696de4f7386f9f1a1570177639285b7333ba (diff)
downloadhdf5-57c71cb983649b6831e7da4b465893e4fb0f8f09.zip
hdf5-57c71cb983649b6831e7da4b465893e4fb0f8f09.tar.gz
hdf5-57c71cb983649b6831e7da4b465893e4fb0f8f09.tar.bz2
HDF5Array arrayify is missing break statement #3056 (#3060)
-rw-r--r--java/src/hdf/hdf5lib/HDFArray.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/hdf/hdf5lib/HDFArray.java b/java/src/hdf/hdf5lib/HDFArray.java
index 28d5117..637a896 100644
--- a/java/src/hdf/hdf5lib/HDFArray.java
+++ b/java/src/hdf/hdf5lib/HDFArray.java
@@ -455,6 +455,7 @@ public class HDFArray {
new HDF5JavaException("HDFArray: unsupported Object type: " + ArrayDescriptor.NT);
throw(ex);
}
+ break;
} // end of statement for arrays of boxed objects
default:
HDF5JavaException ex =
@@ -527,6 +528,7 @@ public class HDFArray {
new HDF5JavaException("HDFArray: unsupported Object type: " + ArrayDescriptor.NT);
throw(ex);
}
+ break;
} // end of statement for arrays of boxed numerics
} // end of switch statement for arrays of primitives