This commit is contained in:
Dave Syer
2018-10-25 15:02:35 +01:00
parent 2691b20a4b
commit 9b9df1e7dc
2 changed files with 4 additions and 8 deletions

View File

@@ -15,9 +15,12 @@
*/
package com.example;
import org.junit.Ignore;
import java.net.URI;
import java.util.Arrays;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
import org.springframework.boot.test.web.client.TestRestTemplate;
@@ -27,9 +30,6 @@ import org.springframework.http.RequestEntity;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.util.LinkedMultiValueMap;
import java.net.URI;
import java.util.Arrays;
import static org.assertj.core.api.Assertions.assertThat;
/**

View File

@@ -31,7 +31,6 @@ import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.reactivestreams.Publisher;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.function.context.catalog.FunctionInspector;
import org.springframework.cloud.function.context.message.MessageUtils;
import org.springframework.cloud.function.core.FluxWrapper;
@@ -64,9 +63,6 @@ public class RequestProcessor {
private final JsonMapper mapper;
@Value("${debug:${DEBUG:false}}")
private String debug = "false";
public RequestProcessor(FunctionInspector inspector, JsonMapper mapper,
StringConverter converter) {
this.mapper = mapper;