Fixed code style issues

This commit is contained in:
Marcin Grzejszczak
2016-08-12 11:46:41 +02:00
parent 24c0de9b80
commit c7665db7d9
16 changed files with 84 additions and 46 deletions

View File

@@ -98,7 +98,7 @@ public class RunMojo extends AbstractMojo {
public void execute() throws MojoExecutionException, MojoFailureException {
if (skip || skipTestOnly) {
getLog().info("Skipping verifier execution: spring.cloud.contract.verifier.skip=" + String.valueOf(skip));
getLog().info("Skipping verifier execution: spring.cloud.contract.verifier.skip=" + skip);
return;
}
BatchStubRunner batchStubRunner = null;

View File

@@ -41,7 +41,9 @@ public class RemoteStubRunner {
public BatchStubRunner run(StubRunnerOptions options, RepositorySystemSession repositorySystemSession) {
AetherStubDownloader stubDownloader = aetherStubDownloaderFactory.build(repositorySystemSession);
try {
log.debug("Launching StubRunner with args: " + String.valueOf(options));
if (log.isDebugEnabled()) {
log.debug("Launching StubRunner with args: " + options);
}
BatchStubRunner stubRunner = new BatchStubRunnerFactory(options,
stubDownloader).buildBatchStubRunner();
RunningStubs runningCollaborators = stubRunner.runStubs();