Add java clang-format (#1672)

This commit is contained in:
Allen Byrne
2022-04-22 08:24:27 -07:00
committed by GitHub
parent f5042fd4d3
commit 974aefb841
162 changed files with 13299 additions and 10030 deletions
+4 -7
View File
@@ -22,13 +22,14 @@ import hdf.hdf5lib.HDF5Constants;
public class H5_CreateFile {
static final String FILENAME = "H5_CreateFile.h5";
private static void CreateFile() {
private static void CreateFile()
{
long file_id = HDF5Constants.H5I_INVALID_HID;
// Create a new file using default properties.
try {
file_id = H5.H5Fcreate(FILENAME, HDF5Constants.H5F_ACC_TRUNC, HDF5Constants.H5P_DEFAULT,
HDF5Constants.H5P_DEFAULT);
HDF5Constants.H5P_DEFAULT);
}
catch (Exception e) {
e.printStackTrace();
@@ -42,11 +43,7 @@ public class H5_CreateFile {
catch (Exception e) {
e.printStackTrace();
}
}
public static void main(String[] args) {
H5_CreateFile.CreateFile();
}
public static void main(String[] args) { H5_CreateFile.CreateFile(); }
}