Polish HttpHeaderInterceptor

Closes gh-10670
This commit is contained in:
dreis2211 2017-10-17 22:03:59 +02:00 committed by Stephane Nicoll
parent 77cbab794e
commit ed213ec462

View File

@ -45,7 +45,7 @@ public class HttpHeaderInterceptor implements ClientHttpRequestInterceptor {
*/
public HttpHeaderInterceptor(String name, String value) {
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.value = value;
}