Adjust coding rules 96/63796/1
authorHwankyu Jhun <h.jhun@samsung.com>
Sun, 27 Mar 2016 23:08:48 +0000 (08:08 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Sun, 27 Mar 2016 23:08:48 +0000 (08:08 +0900)
Change-Id: Icd9b141f1310b1d92960fd385fe9fe57c1bf36d3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
doc/content_mime_type_doc.h
include/mime_type.h
src/mime_type.c

index f4c02fc..f2b5a23 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2011 - 2016 Samsung Electronics Co., Ltd All Rights Reserved
  *
  * Licensed under the Apache License, Version 2.0 (the License);
  * you may not use this file except in compliance with the License.
index a1f4328..5e8c787 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2011 - 2016 Samsung Electronics Co., Ltd All Rights Reserved
  *
  * Licensed under the Apache License, Version 2.0 (the License);
  * you may not use this file except in compliance with the License.
@@ -11,7 +11,7 @@
  * distributed under the License is distributed on an AS IS BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
- * limitations under the License. 
+ * limitations under the License.
  */
 
 #ifndef __TIZEN_CONTENT_MIME_TYPE_H__
@@ -33,8 +33,7 @@ extern "C"
 /**
  * @brief Enumeration of error code
  */
-typedef enum
-{
+typedef enum {
        MIME_TYPE_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
        MIME_TYPE_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */
        MIME_TYPE_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
index 53c4a9c..7ab5716 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2011 - 2016 Samsung Electronics Co., Ltd All Rights Reserved
  *
  * Licensed under the Apache License, Version 2.0 (the License);
  * you may not use this file except in compliance with the License.
@@ -36,16 +36,12 @@ static const char* mime_type_error_to_string(mime_type_error_e error)
        switch (error) {
        case MIME_TYPE_ERROR_NONE:
                return "NONE";
-
        case MIME_TYPE_ERROR_INVALID_PARAMETER:
                return "INVALID_PARAMETER";
-
        case MIME_TYPE_ERROR_OUT_OF_MEMORY:
                return "OUT_OF_MEMORY";
-
        case MIME_TYPE_ERROR_IO_ERROR:
                return "IO_ERROR";
-
        default:
                return "UNKNOWN";
        }