This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch WW-2815-xstream in repository https://gitbox.apache.org/repos/asf/struts.git
commit ac13c32bdb9fc5a16fe9b1e0fb1d2769a13f0740 Author: Lukasz Lenart <lukaszlen...@apache.org> AuthorDate: Mon Oct 17 09:47:37 2022 +0200 WW-2815 Drops deprecated API --- .../java/org/apache/struts2/rest/handler/XStreamHandler.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/plugins/rest/src/main/java/org/apache/struts2/rest/handler/XStreamHandler.java b/plugins/rest/src/main/java/org/apache/struts2/rest/handler/XStreamHandler.java index d3534e32b..70ea810eb 100644 --- a/plugins/rest/src/main/java/org/apache/struts2/rest/handler/XStreamHandler.java +++ b/plugins/rest/src/main/java/org/apache/struts2/rest/handler/XStreamHandler.java @@ -62,15 +62,6 @@ public class XStreamHandler extends AbstractContentTypeHandler { xstream.fromXML(in, target); } - /** - * @deprecated use version with {@link ActionInvocation} - */ - @Deprecated - protected XStream createXStream() { - LOG.warn("You are using a deprecated API!"); - return new XStream(); - } - protected XStream createXStream(ActionInvocation invocation) { XStream stream; if (invocation.getAction() instanceof XStreamProvider) {