Code cleanup.

This commit is contained in:
Olga Maciaszek-Sharma
2018-11-19 11:37:33 +01:00
parent 708af5d746
commit 9bafbf66c8
27 changed files with 59 additions and 55 deletions

View File

@@ -44,6 +44,6 @@ class PublishStubsToScmTask extends ConventionTask {
String projectName = project.group.toString() + ":" + project.name.toString() + ":" + this.project.version.toString()
project.logger.info("Pushing Stubs to SCM for project [" + projectName + "]")
StubRunnerOptions options = getDownloader().options(getConfigProperties())
new ContractProjectUpdater(options).updateContractProject(projectName, getStubsOutputDir().toPath());
new ContractProjectUpdater(options).updateContractProject(projectName, getStubsOutputDir().toPath())
}
}

View File

@@ -159,7 +159,7 @@ abstract class ContractVerifierIntegrationSpec extends Specification {
}
private static class CopyFileVisitor extends SimpleFileVisitor<Path> {
private final Path targetPath;
private final Path targetPath
private Path sourcePath = null
CopyFileVisitor(Path targetPath) {
this.targetPath = targetPath