diff --git a/core/src/main/java/hudson/scm/SubversionSCM.java b/core/src/main/java/hudson/scm/SubversionSCM.java index cc0f602cff..a278dac86f 100644 --- a/core/src/main/java/hudson/scm/SubversionSCM.java +++ b/core/src/main/java/hudson/scm/SubversionSCM.java @@ -308,6 +308,14 @@ public class SubversionSCM extends SCM implements Serializable { return Collections.emptyList(); } + /** + * Polling can happen on the master and does not require a workspace. + */ + @Override + public boolean requiresWorkspaceForPolling() { + return false; + } + public boolean checkout(AbstractBuild build, Launcher launcher, FilePath workspace, final BuildListener listener, File changelogFile) throws IOException, InterruptedException { List externals = checkout(build,workspace,listener); @@ -1436,12 +1444,4 @@ public class SubversionSCM extends SCM implements Serializable { } }; } - - /** - * Polling can happen on the master and does not require a workspace. - */ - @Override - public boolean requiresWorkspaceForPolling() { - return false; - } }