WW-5188 Replaces since 2.6 with 6.0

This commit is contained in:
Lukasz Lenart
2022-06-14 13:27:46 +02:00
parent ba041e1ee6
commit b6b74a46ea
43 changed files with 85 additions and 85 deletions
@@ -24,7 +24,7 @@ import java.util.concurrent.Executor;
/**
* A {@link Callable} with a timeout value and an {@link Executor}.
*
* @since 2.6
* @since 6.0.0
*/
public class AsyncAction implements Callable {
@@ -35,7 +35,7 @@ import java.util.concurrent.atomic.AtomicInteger;
/**
* Implements {@link AsyncManager} to add support for invoke async actions via Servlet 3's API.
*
* @since 2.6
* @since 6.0.0
*/
public class DefaultAsyncManager implements AsyncManager, AsyncListener {
private static final Logger LOG = LogManager.getLogger(DefaultAsyncManager.class);
+1 -1
View File
@@ -29,7 +29,7 @@
<artifactId>struts2-embeddedjsp-plugin</artifactId>
<packaging>jar</packaging>
<name>DEPRECATED: Struts 2 Embedded JSP Plugin (since 2.6)</name>
<name>DEPRECATED: Struts 2 Embedded JSP Plugin, since 6.0.0</name>
<dependencies>
<dependency>
+1 -1
View File
@@ -29,7 +29,7 @@
<artifactId>struts2-gxp-plugin</artifactId>
<packaging>jar</packaging>
<name>DEPRECATED: Struts 2 GXP Plugin - since 2.6</name>
<name>DEPRECATED: Struts 2 GXP Plugin - since 6.0.0</name>
<dependencies>
<dependency>
@@ -512,7 +512,7 @@ public class JasperReportsResult extends StrutsResultSupport implements JasperRe
*
* @param expression of result
* @return true|false
* @since 2.6
* @since 6.0.0
*/
protected boolean isAcceptableExpression(String expression) {
NotExcludedAcceptedPatternsChecker.IsAllowed isAllowed = notExcludedAcceptedPatterns.isAllowed(expression);
+1 -1
View File
@@ -29,7 +29,7 @@
<artifactId>struts2-osgi-plugin</artifactId>
<packaging>jar</packaging>
<name>DEPRECATED: Struts 2 OSGi Plugin - since 2.6</name>
<name>DEPRECATED: Struts 2 OSGi Plugin - since 6.0.0</name>
<dependencies>
<!-- Define OSGi Core and Compendium dependencies directly here for the plugin.
@@ -25,7 +25,7 @@ import java.util.List;
* registered with the type of the parameterized type
*
* @param <T> The type of the service
* @since 2.6
* @since 6.0.0
*/
public interface ServiceAware<T> {
+1 -1
View File
@@ -29,7 +29,7 @@
<artifactId>struts2-oval-plugin</artifactId>
<packaging>jar</packaging>
<name>DEPRECATED: Struts 2 OVal Plugin (since 2.6)</name>
<name>DEPRECATED: Struts 2 OVal Plugin, since 6.0.0</name>
<dependencies>
<!-- OVal -->
+1 -1
View File
@@ -29,7 +29,7 @@
<artifactId>struts2-plexus-plugin</artifactId>
<packaging>jar</packaging>
<name>DEPRECATED: Struts 2 Plexus Plugin - since 2.6</name>
<name>DEPRECATED: Struts 2 Plexus Plugin - since 6.0.0</name>
<dependencies>
<dependency>
+1 -1
View File
@@ -29,7 +29,7 @@
<artifactId>struts2-portlet-mocks-plugin</artifactId>
<packaging>jar</packaging>
<name>DEPRECATED: Struts 2 Portlet Mocks Plugin - since 2.6</name>
<name>DEPRECATED: Struts 2 Portlet Mocks Plugin - since 6.0.0</name>
<dependencies>
<dependency>
+1 -1
View File
@@ -29,7 +29,7 @@
<artifactId>struts2-portlet-tiles-plugin</artifactId>
<packaging>jar</packaging>
<name>DEPRECATED: Struts 2 Portlet Tiles Plugin - since 2.6</name>
<name>DEPRECATED: Struts 2 Portlet Tiles Plugin - since 6.0.0</name>
<dependencies>
<dependency>
+1 -1
View File
@@ -29,7 +29,7 @@
<artifactId>struts2-portlet-plugin</artifactId>
<packaging>jar</packaging>
<name>DEPRECATED: Struts 2 Portlet Plugin - since 2.6</name>
<name>DEPRECATED: Struts 2 Portlet Plugin - since 6.0.0</name>
<dependencies>
<!-- junit and related JARs are needed for 'compile'! -->
@@ -21,7 +21,7 @@ package org.apache.struts2.portlet.action;
import javax.portlet.PortletContext;
/**
* @since 2.6
* @since 6.0.0
*/
public interface PortletContextAware {
@@ -26,7 +26,7 @@ import javax.portlet.PortletPreferences;
* implement this interface. If running in a servlet environment, an
* appropriate testing implementation will be provided.
*
* @since 2.6
* @since 6.0.0
*/
public interface PortletPreferencesAware {
@@ -21,7 +21,7 @@ package org.apache.struts2.portlet.action;
import javax.portlet.PortletRequest;
/**
* @since 2.6
* @since 6.0.0
*/
public interface PortletRequestAware {
@@ -21,7 +21,7 @@ package org.apache.struts2.portlet.action;
import javax.portlet.PortletResponse;
/**
* @since 2.6
* @since 6.0.0
*/
public interface PortletResponseAware {
+1 -1
View File
@@ -29,7 +29,7 @@
<artifactId>struts2-sitemesh-plugin</artifactId>
<packaging>jar</packaging>
<name>DEPRECATED: Struts 2 Sitemesh Plugin - since 2.6</name>
<name>DEPRECATED: Struts 2 Sitemesh Plugin - since 6.0.0</name>
<dependencies>
<dependency>
@@ -36,7 +36,7 @@ public class StrutsVelocityContext extends VelocityContext {
*
* @param chainedContexts Existing Velocity contexts to chain to
* @param stack Struts ValueStack
* @since 2.6
* @since 6.0.0
*/
public StrutsVelocityContext(List<VelocityContext> chainedContexts, ValueStack stack) {
this.chainedContexts = chainedContexts;
@@ -20,18 +20,18 @@
*/
-->
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.6//EN"
"http://struts.apache.org/dtds/struts-2.6.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 6.0//EN"
"struts-6.0.dtd">
<struts>
<bean name="struts" class="org.apache.struts2.views.velocity.VelocityManager" />
<bean name="struts" class="org.apache.struts2.views.velocity.VelocityManager"/>
<bean type="org.apache.struts2.components.template.TemplateEngine" name="vm"
class="org.apache.struts2.views.velocity.template.VelocityTemplateEngine" />
class="org.apache.struts2.views.velocity.template.VelocityTemplateEngine"/>
<bean type="org.apache.struts2.views.TagLibraryDirectiveProvider" name="s"
class="org.apache.struts2.views.velocity.VelocityTagLibrary" />
class="org.apache.struts2.views.velocity.VelocityTagLibrary"/>
<package name="velocity-default" extends="struts-default">
<result-types>