Re: Is HttpParameters Supposed to be Immutable

2018-08-21 Thread Lukasz Lenart
wt., 21 sie 2018 o 18:32 Paul Zepernick napisaƂ(a): > Which is removing the parameter from the object, I would have expected that > this return a modified copy? Yes, you are right. > Just wondering the intentions of the class, and if this should be logged as a > bug? I would say it's a bug. R

Is HttpParameters Supposed to be Immutable

2018-08-21 Thread Paul Zepernick
I was doing some work on a custom interceptor that was working with the HttpParameters class. At first glance, it appears that it is supposed to be immutable based on some of the exceptions thrown for implementations of Map methods, for example: @Override public Parameter put(String key