Improved: Refactor ‘UtilHttp#makeParamValueFromComposite’
(OFBIZ-11138) Use ‘LocalDateTime’ instead of ‘Calendar’ and ‘HttpServletRequest#getParameterMap’ instead of ‘HttpServletRequest#getParameterNames’. The tests and callers has been adapted to remove the ‘locale’ arguments which made sense only for ‘Calendar’. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1863439 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+1
-1
@@ -171,7 +171,7 @@ public class ServiceEventHandler implements EventHandler {
|
||||
|
||||
// make any composite parameter data (e.g., from a set of parameters {name_c_date, name_c_hour, name_c_minutes})
|
||||
if (value == null) {
|
||||
value = UtilHttp.makeParamValueFromComposite(request, name, locale);
|
||||
value = UtilHttp.makeParamValueFromComposite(request, name);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -269,7 +269,7 @@ public class ServiceMultiEventHandler implements EventHandler {
|
||||
|
||||
// make any composite parameter data (e.g., from a set of parameters {name_c_date, name_c_hour, name_c_minutes})
|
||||
if (value == null) {
|
||||
value = UtilHttp.makeParamValueFromComposite(request, paramName + curSuffix, locale);
|
||||
value = UtilHttp.makeParamValueFromComposite(request, paramName + curSuffix);
|
||||
}
|
||||
|
||||
if (value == null) {
|
||||
|
||||
Reference in New Issue
Block a user