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
This commit is contained in:
kohsuke committed 2008-08-04 18:55:56 +00:00
1 parent 00d9bd7c65
commit 1d159fa080
1 file changed
+8 -8
@@ -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<External> 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;
}
}