mirror of
https://github.com/apache/struts.git
synced 2026-08-07 07:37:20 +00:00
WW-2815 Drops deprecated API
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user