Merge pull request #10670 from dreis2211:polishing-http-header-interceptor
* pr/10670: Polish HttpHeaderInterceptor
This commit is contained in:
commit
293f2b1eaa
|
|
@ -45,7 +45,7 @@ public class HttpHeaderInterceptor implements ClientHttpRequestInterceptor {
|
||||||
*/
|
*/
|
||||||
public HttpHeaderInterceptor(String name, String value) {
|
public HttpHeaderInterceptor(String name, String value) {
|
||||||
Assert.hasLength(name, "Name must not be empty");
|
Assert.hasLength(name, "Name must not be empty");
|
||||||
Assert.hasLength(value, "Value" + " must not be empty");
|
Assert.hasLength(value, "Value must not be empty");
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.value = value;
|
this.value = value;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue