From adaf9daec0fc4daba6362cb662778c9e8fc57e99 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Wed, 12 Nov 2008 00:17:34 +0000 Subject: [PATCH] allow InterruptedException so that test code that extends from it can throw InterruptedException as well. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13169 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/scm/NullSCM.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/scm/NullSCM.java b/core/src/main/java/hudson/scm/NullSCM.java index d30c0c1c86..eea27d5a1c 100644 --- a/core/src/main/java/hudson/scm/NullSCM.java +++ b/core/src/main/java/hudson/scm/NullSCM.java @@ -23,7 +23,7 @@ public class NullSCM extends SCM { return false; } - public boolean checkout(AbstractBuild build, Launcher launcher, FilePath remoteDir, BuildListener listener, File changeLogFile) throws IOException { + public boolean checkout(AbstractBuild build, Launcher launcher, FilePath remoteDir, BuildListener listener, File changeLogFile) throws IOException, InterruptedException { return createEmptyChangeLog(changeLogFile, listener, "log"); }