From f706765071481987137dcc77a329d2361a386cba Mon Sep 17 00:00:00 2001 From: Andrzej Popowski Date: Fri, 16 Oct 2015 14:24:04 +0200 Subject: [PATCH] [Download] - fixed code intentation Change-Id: I3b840a070c3b333006297928340cef8f9a6aa39b Signed-off-by: Andrzej Popowski --- src/download/download_instance.cc | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/download/download_instance.cc b/src/download/download_instance.cc index 79f43df6..fc493643 100755 --- a/src/download/download_instance.cc +++ b/src/download/download_instance.cc @@ -751,19 +751,19 @@ void DownloadInstance::DownloadManagerGetstate ReportSuccess(picojson::value(stateValue), out); } else if (ret == DOWNLOAD_ERROR_INVALID_PARAMETER) { - ReportError(InvalidValuesException( - "The input parameter contains an invalid value."), out); - } else if (ret == DOWNLOAD_ERROR_OUT_OF_MEMORY) { - ReportError(UnknownException("Out of memory"), out); - } else if (ret == DOWNLOAD_ERROR_INVALID_STATE) { - ReportError(InvalidValuesException("Invalid state"), out); - } else if (ret == DOWNLOAD_ERROR_IO_ERROR) { - ReportError(UnknownException("Internal I/O error"), out); - } else if (ret == DOWNLOAD_ERROR_PERMISSION_DENIED) { - ReportError(UnknownException("Permission denied"), out); - } else { - ReportError(UnknownException("Unknown Error"), out); - } + ReportError(InvalidValuesException( + "The input parameter contains an invalid value."), out); + } else if (ret == DOWNLOAD_ERROR_OUT_OF_MEMORY) { + ReportError(UnknownException("Out of memory"), out); + } else if (ret == DOWNLOAD_ERROR_INVALID_STATE) { + ReportError(InvalidValuesException("Invalid state"), out); + } else if (ret == DOWNLOAD_ERROR_IO_ERROR) { + ReportError(UnknownException("Internal I/O error"), out); + } else if (ret == DOWNLOAD_ERROR_PERMISSION_DENIED) { + ReportError(UnknownException("Permission denied"), out); + } else { + ReportError(UnknownException("Unknown Error"), out); + } } void DownloadInstance::DownloadManagerGetmimetype -- 2.34.1