Polish
This commit is contained in:
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user