Summary: | Avoid new Integer and new Long instances when doing conversions | ||
---|---|---|---|
Product: | Tomcat 8 | Reporter: | Anthony Whitford <anthony> |
Component: | Util | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | trivial | ||
Priority: | P2 | ||
Version: | 8.0.x-trunk | ||
Target Milestone: | ---- | ||
Hardware: | Macintosh | ||
OS: | Mac OS X 10.1 | ||
Attachments: | Replaced new Integer/Long with valueOf calls |
Description
Anthony Whitford
2015-10-25 23:22:01 UTC
Hi, Thanks for the report and the patch. I applied the same fix on other places in the code also. The fix is available in trunk, 8.0.x (for 8.0.29 onwards) and 7.0.x (for 7.0.66 onwards) Regards, Violeta |