/[Apache-SVN]
ViewVC logotype

Revision 1857817


Jump to revision: Previous Next
Author: mthl
Date: Fri Apr 19 14:57:54 2019 UTC (4 years, 11 months ago)
Changed paths: 1
Log Message:
Improved: Add ‘UtilMisc#toMap(Supplier<Map<K, V>>, Object...)’
(OFBIZ-10933)

It is convenient to use ‘UtilMisc#toMap’ to create pseudo-literal
maps. Previously it was not possible to specify the concrete class of
the constructed map.  The ‘UtilMisc#toMap(Supplier<Map<K, V>>,
Object...)’ overload now provides a convenient way to instantiate
specific map types like ‘LinkedHashMap’ objects.


Changed paths

Path Details
Directoryofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilMisc.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26