src/sap.ui.core/src/sap/ui/core/ComponentMetadata.js
function(a, fnCallback) {
			var o = {};
			if (a) {
				for (var i = 0, l = a.length; i < l; i++) {
					var oValue = a[i];
					if (typeof oValue === "string") {
						o[oValue] = typeof fnCallback === "function" && fnCallback(oValue) || {};
					}
				}
			}
			return o;
		}
function(a, fnCallback) {
			var o = {};
			if (a) {
				for (var i = 0, l = a.length; i < l; i++) {
					var oValue = a[i];
					if (typeof oValue === "string") {
						o[oValue] = typeof fnCallback === "function" && fnCallback(oValue) || {};
					}
				}
			}
			return o;
		}
function ( a , fnCallback ) { var o = { } ; if ( a ) { for ( var i = 0 , l = a . length ; i < l ; i ++ ) { var oValue = a [ i ] ; if ( typeof oValue === "string" ) { o [ oValue ] = typeof fnCallback === "function" && fnCallback ( oValue ) || { } ; } } } return o ; }
this function can be outsourced in future when the ComponentMetadata is not used anymore and the new Application manifest is used - but for now we keep it as it will be one of the common use cases to have the classical ComponentMetadata and this should be transformed into the new manifest structure for compatibility converter for array with string values to object
this function can be outsourced in future when the ComponentMetadata is not used anymore and the new Application manifest is used - but for now we keep it as it will be one of the common use cases to have the classical ComponentMetadata and this should be transformed into the new manifest structure for compatibility converter for array with string values to object