From 7af3a75ac49eb367d90ce17f32d849e31b0ef2d4 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Thu, 2 Feb 2017 17:25:58 +0100 Subject: [PATCH] Removed info about missing contracts fixes #212 --- .../cloud/contract/stubrunner/StubRunnerExecutor.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spring-cloud-contract-stub-runner/src/main/java/org/springframework/cloud/contract/stubrunner/StubRunnerExecutor.java b/spring-cloud-contract-stub-runner/src/main/java/org/springframework/cloud/contract/stubrunner/StubRunnerExecutor.java index 444e5c9253..6c58621e11 100644 --- a/spring-cloud-contract-stub-runner/src/main/java/org/springframework/cloud/contract/stubrunner/StubRunnerExecutor.java +++ b/spring-cloud-contract-stub-runner/src/main/java/org/springframework/cloud/contract/stubrunner/StubRunnerExecutor.java @@ -234,10 +234,6 @@ class StubRunnerExecutor implements StubFinder { this.stubServer = new StubServer(stubConfiguration, mappings, contracts, new NoOpHttpServerStub()); return; } - if (contracts.isEmpty()) { - log.warn("There are no contracts in the published JAR. This is an unusual situation " - + "that's why will start the server - maybe you know what you're doing..."); - } if (port != null && port >= 0) { this.stubServer = new StubServer(stubConfiguration, mappings, contracts, new WireMockHttpServerStub(port)); }