Polishing contribution

Closes gh-34812
This commit is contained in:
rstoyanchev
2025-04-28 14:22:01 +01:00
parent d7c13d6518
commit c88ba6c90e
2 changed files with 17 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -49,7 +49,6 @@ import org.springframework.util.ObjectUtils;
*
* @author Arjen Poutsma
* @author Juergen Hoeller
* @author Yanming Zhou
* @since 3.0.2
* @param <T> the body type
* @see org.springframework.web.client.RestTemplate
@@ -59,7 +58,8 @@ import org.springframework.util.ObjectUtils;
public class HttpEntity<T> {
/**
* The empty {@code HttpEntity}, with no body or headers.
* An {@code HttpEntity} instance with a {@code null} body and
* {@link HttpHeaders#EMPTY empty headers}.
*/
public static final HttpEntity<?> EMPTY = new HttpEntity<>(HttpHeaders.EMPTY);