Commit 293f2b1e authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #10670 from dreis2211:polishing-http-header-interceptor

* pr/10670:
  Polish HttpHeaderInterceptor
parents 77cbab79 ed213ec4
...@@ -45,7 +45,7 @@ public class HttpHeaderInterceptor implements ClientHttpRequestInterceptor { ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment