Commit e8f71ab
committed
Simplify HttpHeaders constructor
As of gh-33913, `HttpHeaders` does not implement the `MultiValueMap`
contract anymore, so we can take this opportunity to simplify one of the
constructors to not consider that the argument could be an `HttpHeaders`
instance. This case is already covered by the other constructor.
See gh-339131 parent 2a846c9 commit e8f71ab
File tree
1 file changed
+1
-12
lines changed- spring-web/src/main/java/org/springframework/http
1 file changed
+1
-12
lines changedLines changed: 1 addition & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
| 458 | + | |
470 | 459 | | |
471 | 460 | | |
472 | 461 | | |
| |||
0 commit comments