We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dbca16 commit adb9c51Copy full SHA for adb9c51
src/main/java/com/cloudbees/jenkins/support/impl/AboutJenkins.java
@@ -167,13 +167,13 @@ public String call() {
167
final File rootPath = new File(this.rootPathName);
168
for (File file : FileUtils.listFiles(rootPath, null, false)) {
169
if (file.isFile()) {
170
- try (FileInputStream fis = new FileInputStream(file)) {
171
- result.append(Util.getDigestOf(fis)) // FIPS OK: Not security related.
+ try {
+ result.append(Util.getDigestOf(new FileInputStream(file))) // FIPS OK: Not security related.
172
.append(" ")
173
.append(file.getName())
174
.append('\n');
175
} catch (IOException e) {
176
- // handle the exception
+ // ignore
177
}
178
179
0 commit comments