[ofbiz-plugins] branch trunk updated: Improved: Checkstyle: Variable name must match pattern (OFBIZ-11926)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-plugins] branch trunk updated: Improved: Checkstyle: Variable name must match pattern (OFBIZ-11926)

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/trunk by this push:
     new c8d22ed  Improved: Checkstyle: Variable name must match pattern (OFBIZ-11926)
c8d22ed is described below

commit c8d22ed72a520aad3292d00cd7d9bb4b7408b692
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Fri Aug 28 09:38:31 2020 +0200

    Improved: Checkstyle: Variable name must match pattern (OFBIZ-11926)
   
    All final data members of the class must match this naming pattern
    '^[A-Z][A-Z0-9](_[A-Z0-9]+)$'
   
    I added the changes in CommonScreens.xml but forgot to push this one in ecommerce
---
 ecommerce/widget/CommonScreens.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecommerce/widget/CommonScreens.xml b/ecommerce/widget/CommonScreens.xml
index 12082e7..7f54f70 100644
--- a/ecommerce/widget/CommonScreens.xml
+++ b/ecommerce/widget/CommonScreens.xml
@@ -40,7 +40,7 @@ under the License.
                 <!-- The default (main) java scripts -->
                 <!-- NOTE: this should be included on each screen that uses it to avoid including it in all screens: -->
                 <set field="initialLocaleComplete" type="String" value="${groovy:parameters?.userLogin?.lastLocale}" default-value="${groovy:locale.toString()}"/>
-                <set field="layoutSettings.javaScripts[+0]" value="${groovy: org.apache.ofbiz.common.JsLanguageFilesMapping.dateTime.getFilePath(initialLocaleComplete)}" global="true"/>
+                <set field="layoutSettings.javaScripts[+0]" value="${groovy: org.apache.ofbiz.common.JsLanguageFilesMapping.DateTime.getFilePath(initialLocaleComplete)}" global="true"/>
 
                 <!-- Get the store VisualTheme -->
                 <set field="headerTemplateLocation" from-field="layoutSettings.VT_HDR_TMPLT_LOC" default-value="component://ecommerce/template/includes/Header.ftl"/>