src/sap.ui.support/src/sap/ui/support/supportRules/History.js
function (sFormat) {
			var oFormattedHistory,
				aHistory = this.getHistory();

			switch (sFormat) {
				case library.HistoryFormats.Abap:
					oFormattedHistory = AbapHistoryFormatter.format(aHistory);
					break;
				default :
					oFormattedHistory = StringHistoryFormatter.format(aHistory);
			}

			return oFormattedHistory;
		}
function (sFormat) {
			var oFormattedHistory,
				aHistory = this.getHistory();

			switch (sFormat) {
				case library.HistoryFormats.Abap:
					oFormattedHistory = AbapHistoryFormatter.format(aHistory);
					break;
				default :
					oFormattedHistory = StringHistoryFormatter.format(aHistory);
			}

			return oFormattedHistory;
		}
function ( sFormat ) { var oFormattedHistory , aHistory = this . getHistory ( ) ; switch ( sFormat ) { case library . HistoryFormats . Abap : oFormattedHistory = AbapHistoryFormatter . format ( aHistory ) ; break ; default : oFormattedHistory = StringHistoryFormatter . format ( aHistory ) ; } return oFormattedHistory ; }
Returns the history into formatted output depending on the passed format.

@public
@method
@param {string} sFormat The format into which the history object will be converted. Possible values are listed in sap.ui.support.HistoryFormats.
@name sap.ui.support.History.getFormattedHistory
@returns {*} All analysis history objects in the correct format.
Returns the history into formatted output depending on the passed format .