Struts 2
  1. Struts 2
  2. WW-3682

replaced deprecaded api calls with direct replacements

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.3.1
    • Fix Version/s: 2.3.1
    • Component/s: Core Actions
    • Labels:
    • Environment:

      win xp 64 / cygwin / oracle-sun java 1.6

    • Flags:
      Patch

      Activity

      Hide
      Jason Pyeron added a comment -

      public class com.opensymphony.xwork2.config.ConfigurationManager {

      ...

      @Deprecated public void addConfigurationProvider(ConfigurationProvider provider)

      { addContainerProvider(provider); }
      Show
      Jason Pyeron added a comment - public class com.opensymphony.xwork2.config.ConfigurationManager { ... @Deprecated public void addConfigurationProvider(ConfigurationProvider provider) { addContainerProvider(provider); }
      Hide
      Maurizio Cucchiara added a comment -

      I have nothing against it, so if there are no objections I would to apply Jason's patch.

      Show
      Maurizio Cucchiara added a comment - I have nothing against it, so if there are no objections I would to apply Jason's patch.
      Hide
      Maurizio Cucchiara added a comment -

      Thank you Jason,
      I have applied your suggestion for the whole struts project and for the clearConfigurationProviders method

      Show
      Maurizio Cucchiara added a comment - Thank you Jason, I have applied your suggestion for the whole struts project and for the clearConfigurationProviders method
      Hide
      Hudson added a comment -

      Integrated in Struts2 #357 (See https://builds.apache.org/job/Struts2/357/)
      WW-3682 - replaced deprecaded api calls with direct replacements

      mcucchiara :
      Files :

      • /struts/struts2/trunk/apps/blank/src/test/java/example/ConfigTest.java
      • /struts/struts2/trunk/apps/jboss-blank/src/test/java/example/ConfigTest.java
      • /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java
      • /struts/struts2/trunk/core/src/test/java/org/apache/struts2/components/UIComponentTest.java
      • /struts/struts2/trunk/core/src/test/java/org/apache/struts2/interceptor/ExecuteAndWaitInterceptorTest.java
      • /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/config/ConfigurationManager.java
      • /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/util/XWorkTestCaseHelper.java
      • /struts/struts2/trunk/xwork-core/src/test/java/com/opensymphony/xwork2/config/ConfigurationManagerTest.java
      • /struts/struts2/trunk/xwork-core/src/test/java/com/opensymphony/xwork2/config/ConfigurationTest.java
      • /struts/struts2/trunk/xwork-core/src/test/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProviderGlobalResultInheritenceTest.java
      • /struts/struts2/trunk/xwork-core/src/test/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProviderPackagesTest.java
      • /struts/struts2/trunk/xwork-core/src/test/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProviderTest.java
      • /struts/struts2/trunk/xwork-core/src/test/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProviderWildCardIncludeTest.java
      Show
      Hudson added a comment - Integrated in Struts2 #357 (See https://builds.apache.org/job/Struts2/357/ ) WW-3682 - replaced deprecaded api calls with direct replacements mcucchiara : Files : /struts/struts2/trunk/apps/blank/src/test/java/example/ConfigTest.java /struts/struts2/trunk/apps/jboss-blank/src/test/java/example/ConfigTest.java /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java /struts/struts2/trunk/core/src/test/java/org/apache/struts2/components/UIComponentTest.java /struts/struts2/trunk/core/src/test/java/org/apache/struts2/interceptor/ExecuteAndWaitInterceptorTest.java /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/config/ConfigurationManager.java /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/util/XWorkTestCaseHelper.java /struts/struts2/trunk/xwork-core/src/test/java/com/opensymphony/xwork2/config/ConfigurationManagerTest.java /struts/struts2/trunk/xwork-core/src/test/java/com/opensymphony/xwork2/config/ConfigurationTest.java /struts/struts2/trunk/xwork-core/src/test/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProviderGlobalResultInheritenceTest.java /struts/struts2/trunk/xwork-core/src/test/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProviderPackagesTest.java /struts/struts2/trunk/xwork-core/src/test/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProviderTest.java /struts/struts2/trunk/xwork-core/src/test/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProviderWildCardIncludeTest.java

        People

        • Assignee:
          Maurizio Cucchiara
          Reporter:
          Jason Pyeron
        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development