ServerSentEvent
should implement equals()
and hashCode()
#33606
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Uh oh!
There was an error while loading. Please reload this page.
ServerSentEvent is an immutable class but does not implement
equals
andhashCode
.So something like this does not work:
And instead it forces you to write something like this:
which is both inconvenient and unexpected.
The text was updated successfully, but these errors were encountered: