Skip to content

Commit 4f0bc3b

Browse files
committed
FindBugs
1 parent 1273af6 commit 4f0bc3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/org/jenkinsci/plugins/workflow/log/LogStorage.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
package org.jenkinsci.plugins.workflow.log;
2626

27+
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
2728
import hudson.ExtensionList;
2829
import hudson.console.AnnotatedLargeText;
2930
import hudson.console.ConsoleAnnotationOutputStream;
@@ -119,6 +120,7 @@ public interface LogStorage {
119120
* @return a possibly temporary file
120121
* @deprecated Only used for compatibility with {@link Run#getLogFile}.
121122
*/
123+
@SuppressFBWarnings(value = "REC_CATCH_EXCEPTION", justification = "silly rule")
122124
@Deprecated
123125
default @Nonnull File getLogFile(@Nonnull FlowExecutionOwner.Executable build, boolean complete) {
124126
try {

0 commit comments

Comments
 (0)