Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4791

Stop using DefaultLocalizedTextProvider#localeFromString static util method

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.12
    • Component/s: Core
    • Labels:
      None

      Description

      This method can be replaced with LocaleUtils#toLocale(String) when needed

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit f06caf7ca7fc38c5c834e129ac18a483ef37c58d in struts's branch refs/heads/master from Lukasz Lenart
        [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=f06caf7 ]

        WW-4791 Stops using DefaultLocalizedTextProvider#localeFromString

        Show
        jira-bot ASF subversion and git services added a comment - Commit f06caf7ca7fc38c5c834e129ac18a483ef37c58d in struts's branch refs/heads/master from Lukasz Lenart [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=f06caf7 ] WW-4791 Stops using DefaultLocalizedTextProvider#localeFromString
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build Struts-JDK7-master #624 (See https://builds.apache.org/job/Struts-JDK7-master/624/)
        WW-4791 Stops using DefaultLocalizedTextProvider#localeFromString (lukaszlenart: rev f06caf7ca7fc38c5c834e129ac18a483ef37c58d)

        • (edit) core/src/main/java/com/opensymphony/xwork2/DefaultLocaleProvider.java
        • (edit) plugins/portlet/src/main/java/org/apache/struts2/portlet/dispatcher/Jsr168Dispatcher.java
        • (edit) core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java
        • (edit) core/src/main/java/org/apache/struts2/interceptor/I18nInterceptor.java
        • (edit) core/src/main/java/com/opensymphony/xwork2/util/DefaultLocalizedTextProvider.java
        • (edit) core/src/test/java/org/apache/struts2/interceptor/I18nInterceptorTest.java
        • (edit) core/src/test/java/org/apache/struts2/config/PropertiesConfigurationProviderTest.java
        • (edit) core/src/test/java/org/apache/struts2/dispatcher/DispatcherTest.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Struts-JDK7-master #624 (See https://builds.apache.org/job/Struts-JDK7-master/624/ ) WW-4791 Stops using DefaultLocalizedTextProvider#localeFromString (lukaszlenart: rev f06caf7ca7fc38c5c834e129ac18a483ef37c58d) (edit) core/src/main/java/com/opensymphony/xwork2/DefaultLocaleProvider.java (edit) plugins/portlet/src/main/java/org/apache/struts2/portlet/dispatcher/Jsr168Dispatcher.java (edit) core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java (edit) core/src/main/java/org/apache/struts2/interceptor/I18nInterceptor.java (edit) core/src/main/java/com/opensymphony/xwork2/util/DefaultLocalizedTextProvider.java (edit) core/src/test/java/org/apache/struts2/interceptor/I18nInterceptorTest.java (edit) core/src/test/java/org/apache/struts2/config/PropertiesConfigurationProviderTest.java (edit) core/src/test/java/org/apache/struts2/dispatcher/DispatcherTest.java

          People

          • Assignee:
            lukaszlenart Lukasz Lenart
            Reporter:
            lukaszlenart Lukasz Lenart
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development