ofbiz

Checkout Tools
  • last updated 26 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 1863502 is being indexed.

Improved: Inline ‘UtilGenerics#checkCollection(Object)’

(OFBIZ-11141)

Improved: Inline ‘UtilGenerics#checkList’

(OFBIZ-11141)

  1. … 70 more files in changeset.
Improved: Inline ‘UtilGenerics#checkMap’

(OFBIZ-11141)

  1. … 64 more files in changeset.
Improved: Inline ‘UtilGenerics#checkSet’

(OFBIZ-11141)

Improved: Inline ‘UtilGenerics#toList’

(OFBIZ-11141)

Improved: Inline ‘UtilGenerics#toMap’

(OFBIZ-11141)

Improved: Rewrite ‘UtilGenerics#toList’ and ‘UtilGenerics#toMap’

(OFBIZ-11141)

Improved: Remove useless ‘UtilGenerics#toMap’ overloads

(OFBIZ-11141)

Improved: Rewrite ‘UtilGenerics#checkMap’ to do a simple cast

(OFBIZ-11141)

Improved: Inline ‘UtilGenerics#checkCollectionContainment’

(OFBIZ-11141)

Improved: Inline ‘UtilGenerics#checkList’

(OFBIZ-11141)

Improved: Inline ‘UtilGenerics#checkMap’

(OFBIZ-11141)

Improved: Inline ‘UtilGenerics#checkSet’

(OFBIZ-11141)

Improved: Make ‘UtilGenerics#checkCollection(Object, Class)’ more generic

(OFBIZ-11141)

Remove ‘checkList’, ‘checkSet’ and ‘checkStack’ by using

‘checkCollection’ instead.

Improved: Use ‘UtilGenerics#checkCollection’ when possible

(OFBIZ-11141)

Implememented: Add unit tests for ‘UtilGenerics#checkCollectionCast’

(OFBIZ-11141)

Improved: Inline ‘UtilGenerics#checkStack(Object)’

(OFBIZ-11141)

Improved: Inline ‘UtilGenerics#checkCollectionCast’

(OFBIZ-11141)

"Applied fix from trunk framework for revision: 1835871"

------------------------------------------------------------------------

r1835871 | surajk | 2018-07-14 07:35:44 +0200 (sam. 14 juil. 2018) | 10 lignes

Improved: All existing party contact mechs should be deleted before creating new one.

(OFBIZ-10396)

Currently, everywhere in code base, before creating new party contact mech record, we use

deletePartyContactMechPurposeIfExists service to delete old records. But, problem is

<first-from-list is used everywhere which only deletes first fetched record.

All previous records should also gets deleted before creating new party contact mech purpose for a specific purpose type.

------------------------------------------------------------------------

?\026

"Applied fix from trunk for revision: 1835871"

------------------------------------------------------------------------

r1835871 | surajk | 2018-07-14 07:35:44 +0200 (sam. 14 juil. 2018) | 10 lignes

Improved: All existing party contact mechs should be deleted before creating new one.

(OFBIZ-10396)

Currently, everywhere in code base, before creating new party contact mech record, we use

deletePartyContactMechPurposeIfExists service to delete old records. But, problem is

<first-from-list is used everywhere which only deletes first fetched record.

All previous records should also gets deleted before creating new party contact mech purpose for a specific purpose type.

------------------------------------------------------------------------

Improved: Remove useless ‘UtilObject#compareToHelper’

(OFBIZ-11140)

Improved: Remove useless ‘UtilObject#getBytes’

(OFBIZ-11140)

Improved: Remove useless ‘UtilObject#equalsHelper’

(OFBIZ-11140)

Improved: Remove ‘UtilMisc#toList’

(OFBIZ-11140)

Improved: Refactor ‘Makeparamlistwithsuffix’

(OFBIZ-11138)

Implemented: Add unit tests for ‘UtilHttp#makeParamListWithSuffix’

(OFBIZ-11138)

Adapt implementation to facilitate mocking.

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’.

Implemented: Add unit tests for ‘UtilHttp#makeParamValueFromComposite’

(OFBIZ-11138)

The implementation has been adapted to facilitate mocking.

Improved: Use ‘HttpServletRequest#getParameterMap’ when possible

It is better to avoid using obsolete ‘Enumeration’ class when possible

so the calls to ‘HttpServletRequest#getParameterNames’ has been

replaced by ‘HttpServletRequest#getParameterMap’.

Improved: Remove useless ‘UtilHttp#parametersToAttributes’

(OFBIZ-11138)

This method was so trivial that it doesn't make sense to provide it.