fix compile error

pull/904/head
seanyu 3 years ago
parent bfe8d0ba2e
commit c98c42c37b

@ -101,7 +101,7 @@ public final class TransHeadersTransfer {
/** /**
* According to {@link ClientRequest} and trans-headers(key list in string type) in metadata, build * According to {@link ClientRequest} and trans-headers(key list in string type) in metadata, build
* the complete headers(key-value list in map type) into metadata. * the complete headers(key-value list in map type) into metadata.
* @param clientRequest * @param clientRequest clientRequest
*/ */
public static void transfer(ClientRequest clientRequest) { public static void transfer(ClientRequest clientRequest) {
// transHeaderMetadata: for example, {"trans-headers" : {"header1,header2,header3":""}} // transHeaderMetadata: for example, {"trans-headers" : {"header1,header2,header3":""}}

@ -26,7 +26,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.web.server.LocalServerPort; import org.springframework.boot.test.web.server.LocalServerPort;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.test.context.junit.jupiter.SpringExtension; import org.springframework.test.context.junit.jupiter.SpringExtension;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;

Loading…
Cancel
Save