Skip to content

Commit 1663fb5

Browse files
committed
Suppress THROWS_METHOD_THROWS_CLAUSE_THROWABLE spotbugs warning
See spotbugs/spotbugs#2040 for discussion of the warning.
1 parent 65f9331 commit 1663fb5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/org/jvnet/hudson/plugins/platformlabeler/PlatformDetailsTask.java

+3
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
import org.jenkinsci.remoting.RoleChecker;
4848

4949
/** Compute labels based on details computed on the agent. */
50+
@SuppressFBWarnings(
51+
value = "THROWS_METHOD_THROWS_CLAUSE_THROWABLE",
52+
justification = "Do not have control of the throws clause of the implemented class")
5053
class PlatformDetailsTask implements Callable<PlatformDetails, IOException> {
5154

5255
private static final Logger LOGGER = Logger.getLogger(PlatformDetailsTask.class.getName());

0 commit comments

Comments
 (0)