Skip to content

Commit ed213ec

Browse files
dreis2211snicoll
authored andcommitted
Polish HttpHeaderInterceptor
Closes gh-10670
1 parent 77cbab7 commit ed213ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/remote/client/HttpHeaderInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class HttpHeaderInterceptor implements ClientHttpRequestInterceptor {
4545
*/
4646
public HttpHeaderInterceptor(String name, String value) {
4747
Assert.hasLength(name, "Name must not be empty");
48-
Assert.hasLength(value, "Value" + " must not be empty");
48+
Assert.hasLength(value, "Value must not be empty");
4949
this.name = name;
5050
this.value = value;
5151
}

0 commit comments

Comments
 (0)