My use case is not a map but rewriting a request in a proxy where anything can be tweaked by users. If the request line I built is different at all from the original, then there are a few extra things I need to do. Using equals instead of testing all parts is simpler.
Gary On Dec 12, 2017 02:01, "Oleg Kalnichevski" <ol...@apache.org> wrote: > On Tue, 2017-12-12 at 00:01 -0700, Gary Gregory wrote: > > Hi All: > > > > I'd like to have BasicRequestLine implement equals() (and > > hashCode()). > > > > Anyone against that? > > > > Gary > > What would be the criteria of equality? Why would one ever want to > stick BasicRequestLine instances into a map? > > Oleg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org > For additional commands, e-mail: dev-h...@hc.apache.org > >