Source:
<code>protected abstract PollingResult checkForChanges(Job<?, ?> project) throws IOException, InterruptedException; public boolean checkout(Run<?, ?> build, Launcher launcher, FilePath jenkinsWorkspace, TaskListener listener, File changelogFile) throws IOException, InterruptedException { setup(launcher, jenkinsWorkspace, listener); if(server.isServerDisabled()){ listener.fatalError("Checkout skipped due to server disabled!"); throw new InterruptedException("Checkout skipped"); } if (StringUtils.isEmpty(scm.getDepot())) { throw new IllegalStateException("Must specify a depot"); } if (StringUtils.isEmpty(scm.getStream())) { throw new IllegalStateException("Must specify a stream"); } final EnvVars environment = build.getEnvironment(listener); accurevEnv.putAll(environment); localStream = environment.expand(scm.getStream()); listener.getLogger().println("Getting a list of streams..."); final Map<String, AccurevStream> streams = ShowStreams.getStreams(scm, localStream, server, accurevEnv, jenkinsWorkspace, listener, launcher); if (streams == null) { throw new IllegalStateException("Stream(s) not found"); } if (!streams.containsKey(localStream)) { listener.fatalError("The specified stream, '" + localStream + "' does not appear to exist!"); throw new IllegalStateException("Specified stream not found"); } if (server.isUseColor()) { setStreamColor(); } boolean isSuccess = true; String errorMessage = "Failed to"; <START> if(!checkout(build, changelogFile) ){ <END> errorMessage+=" checkout"; isSuccess = false; } if(isSuccess && !populate(build)){ errorMessage+=" Populate"; isSuccess = false; } if(isSuccess && !captureChangeLog(build, changelogFile, streams)){ errorMessage+=" captureChangeLog"; isSuccess = false; } if(!isSuccess){ throw new IllegalStateException(errorMessage); } return isSuccess; }</code><technical_language>This is formatted correctly</technical_language>

Target:
protected abstract PollingResult checkForChanges(Job<?, ?> project) throws IOException, InterruptedException; public boolean checkout(Run<?, ?> build, Launcher launcher, FilePath jenkinsWorkspace, TaskListener listener, File changelogFile) throws IOException, InterruptedException { setup(launcher, jenkinsWorkspace, listener); if(server.isServerDisabled()){ listener.fatalError("Checkout skipped due to server disabled!"); throw new InterruptedException("Checkout skipped"); } if (StringUtils.isEmpty(scm.getDepot())) { throw new IllegalStateException("Must specify a depot"); } if (StringUtils.isEmpty(scm.getStream())) { throw new IllegalStateException("Must specify a stream"); } final EnvVars environment = build.getEnvironment(listener); accurevEnv.putAll(environment); localStream = environment.expand(scm.getStream()); listener.getLogger().println("Getting a list of streams..."); final Map<String, AccurevStream> streams = ShowStreams.getStreams(scm, localStream, server, accurevEnv, jenkinsWorkspace, listener, launcher); if (streams == null) { throw new IllegalStateException("Stream(s) not found"); } if (!streams.containsKey(localStream)) { listener.fatalError("The specified stream, '" + localStream + "' does not appear to exist!"); throw new IllegalStateException("Specified stream not found"); } if (server.isUseColor()) { setStreamColor(); } boolean isSuccess = true; String errorMessage = "Failed to"; if (!checkout(build, changelogFile)) { errorMessage += " Checkout"; isSuccess = false; } if (isSuccess && !populate(build)) { errorMessage += " Populate"; isSuccess = false; } if (isSuccess && !captureChangeLog(build, changelogFile, streams)) { errorMessage += " CaptureChangeLog"; isSuccess = false; } if (!isSuccess) { throw new IllegalStateException(errorMessage); } return isSuccess; }