From 1d159fa080957bca3de8a99e4cf6f0eaf0ea8d2f Mon Sep 17 00:00:00 2001 From: kohsuke Date: Mon, 4 Aug 2008 18:55:56 +0000 Subject: [PATCH] moving the code up to follow the order (OK, this is probably just a matter of taste) git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11209 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/scm/SubversionSCM.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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; - } }