Lukasz Lenart created WW-5730:
---------------------------------
Summary: Remove the deprecated String overloads of
ValueStackShadowMap.get/containsKey in the JasperReports plugin
Key: WW-5730
URL: https://issues.apache.org/jira/browse/WW-5730
Project: Struts 2
Issue Type: Task
Components: Plugin - JasperReports
Reporter: Lukasz Lenart
Fix For: 8.0.0
WW-5729 restored {{containsKey(Object)}} and {{get(Object)}} as the real
{{HashMap}} overrides in
{{org.apache.struts2.views.jasperreports.ValueStackShadowMap}} (the
{{struts2-jasperreports-plugin}}). The previous {{containsKey(String)}} and
{{get(String)}} signatures were kept as deprecated delegates
({{@Deprecated(since = "7.4.0", forRemoval = true)}}) so code compiled against
the 6.x/7.x plugin jar keeps linking.
Remove both delegates in 8.0.0. Source compatibility is unaffected: a call with
a {{String}} argument resolves to the {{Object}} override once the overloads
are gone.
The {{struts2-jasperreports7-plugin}} copy never had the {{String}} overloads
and needs no change.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)