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

* pr/10670:
  Polish HttpHeaderInterceptor
This commit is contained in:
Stephane Nicoll 2017-10-18 08:57:34 +02:00
commit 293f2b1eaa
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }