Change some indent for Tizen 3.0 Coding rule
[platform/core/api/smartcard.git] / src / Reader.cpp
index 887d896..06857ed 100644 (file)
@@ -96,8 +96,7 @@ namespace smartcard_service_api
        {
                Session *session = NULL;
 
-               if (isSecureElementPresent() == true)
-               {
+               if (isSecureElementPresent() == true) {
                        gint result;
                        GError *error = NULL;
                        guint session_id;
@@ -129,9 +128,7 @@ namespace smartcard_service_api
 
                                THROW_ERROR(SCARD_ERROR_IPC_FAILED);
                        }
-               }
-               else
-               {
+               } else {
                        _ERR("unavailable reader");
                        throw ErrorIllegalState(SCARD_ERROR_UNAVAILABLE);
                }
@@ -196,8 +193,7 @@ namespace smartcard_service_api
 
                _BEGIN();
 
-               if (isSecureElementPresent() == true)
-               {
+               if (isSecureElementPresent() == true) {
                        CallbackParam *param = new CallbackParam();
 
                        param->instance = this;
@@ -211,9 +207,7 @@ namespace smartcard_service_api
                                NULL, &Reader::reader_open_session_cb, param);
 
                        result = SCARD_ERROR_OK;
-               }
-               else
-               {
+               } else {
                        _ERR("unavailable reader");
                        result = SCARD_ERROR_ILLEGAL_STATE;
                }