Fix java warnings (#1005)

This commit is contained in:
Allen Byrne
2021-09-15 08:26:25 -05:00
committed by GitHub
parent cd2ca91875
commit 1c892fb41f
3 changed files with 37 additions and 47 deletions

View File

@@ -102,7 +102,7 @@ public class TestH5Pfapl {
for(int indx = 0; ;indx++) {
java.text.DecimalFormat myFormat = new java.text.DecimalFormat("00000");
try {
file = new File("test"+myFormat.format(new Integer(indx))+".h5");
file = new File("test"+myFormat.format(Integer.valueOf(indx))+".h5");
}
catch (Throwable err) {}