src/sap.ui.fl/src/sap/ui/fl/Utils.js
function (mPropertyBag) {
			var sAppVersion = mPropertyBag.appVersion;
			var bDeveloperMode = mPropertyBag.developerMode;
			var sScenario = mPropertyBag.scenario;
			var oValidAppVersions = {
				creation: sAppVersion,
				from: sAppVersion
			};
			if (this._isValidAppVersionToRequired(sAppVersion, bDeveloperMode, sScenario)) {
				oValidAppVersions.to = sAppVersion;
			}
			return oValidAppVersions;
		}
function (mPropertyBag) {
			var sAppVersion = mPropertyBag.appVersion;
			var bDeveloperMode = mPropertyBag.developerMode;
			var sScenario = mPropertyBag.scenario;
			var oValidAppVersions = {
				creation: sAppVersion,
				from: sAppVersion
			};
			if (this._isValidAppVersionToRequired(sAppVersion, bDeveloperMode, sScenario)) {
				oValidAppVersions.to = sAppVersion;
			}
			return oValidAppVersions;
		}
function ( mPropertyBag ) { var sAppVersion = mPropertyBag . appVersion ; var bDeveloperMode = mPropertyBag . developerMode ; var sScenario = mPropertyBag . scenario ; var oValidAppVersions = { creation : sAppVersion , from : sAppVersion } ; if ( this . _isValidAppVersionToRequired ( sAppVersion , bDeveloperMode , sScenario ) ) { oValidAppVersions . to = sAppVersion ; } return oValidAppVersions ; }
Generates a ValidAppVersions object for changes and variants; Depending on the parameters passed a 'to' field is included.

@param {map} mPropertyBag
@param {string} mPropertyBag.appVersion Version to be filled into the validAppVersions object fields
@param {boolean} mPropertyBag.developerMode Flag if the creation of the object takes place in the developer mode
@param {sap.ui.fl.Scenario} mPropertyBag.scenario Depending on the scenario a 'to' field must be filled
@returns {{creation: {string}, from: {string} [,to: {string}]}}
Generates a ValidAppVersions object for changes and variants ; Depending on the parameters passed a to field is included .