struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Zepernick <Paul.Zepern...@healthsmart.com>
Subject RE: Is HttpParameters Supposed to be Immutable
Date Wed, 22 Aug 2018 11:13:15 GMT
Thanks for the feedback.  I will open up a bug and submit a PR 😊

Paul

-----Original Message-----
From: Lukasz Lenart <lukaszlenart@apache.org>
Sent: Wednesday, August 22, 2018 12:54 AM
To: Struts Users Mailing List <user@struts.apache.org>
Subject: Re: Is HttpParameters Supposed to be Immutable

wt., 21 sie 2018 o 18:32 Paul Zepernick
<Paul.Zepernick@healthsmart.com> 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. Raw http parameters are immutable by definition so this class should
reflect the same behaviour, that was my intention. Feel free to register an issue and open
a PR :)


Regards
--
Łukasz
+ 48 606 323 122
+ https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.le
+ nart.org.pl%2F&amp;data=02%7C01%7CPaul.Zepernick%40healthsmart.com%7Cd
+ 98c321b7e234f5771df08d607eb41ae%7C2ce547c5e80a40628a56f25adceefb52%7C0
+ %7C0%7C636705104334716954&amp;sdata=l1i2g3uBxTjEP68wCkgokRAJYi%2BUOnhH
+ 9Lo3R009bQY%3D&amp;reserved=0

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org




Disclaimer: This communication and any files transmitted with it may contain information that
is privileged, confidential and/or exempt from disclosure under applicable law. If you are
not the intended recipient, you are hereby notified that any disclosure, copying, distribution,
or use of the information contained herein (including any reliance thereon) is strictly prohibited.
If you received this communication in error, please immediately contact the sender and destroy
the material in its entirety, whether in electronic or hard copy format. Thank you.
Mime
View raw message