From 30d1ef3941e0dc835be7609de5ebee66958f215a Mon Sep 17 00:00:00 2001
From: nalpp <nalpp@yandex-team.ru>
Date: Thu, 10 Feb 2022 16:46:46 +0300
Subject: Restoring authorship annotation for <nalpp@yandex-team.ru>. Commit 2
 of 2.

---
 .../aws-cpp-sdk-core/source/http/Scheme.cpp        | 100 ++++++++++-----------
 1 file changed, 50 insertions(+), 50 deletions(-)

(limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/Scheme.cpp')

diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/Scheme.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/Scheme.cpp
index d75bb4a66d..5dcea06aab 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/Scheme.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/Scheme.cpp
@@ -2,53 +2,53 @@
  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
  * SPDX-License-Identifier: Apache-2.0.
  */
- 
-#include <aws/core/http/Scheme.h> 
-#include <aws/core/utils/memory/stl/AWSString.h> 
-#include <aws/core/utils/StringUtils.h> 
- 
-using namespace Aws::Http; 
-using namespace Aws::Utils; 
- 
-namespace Aws 
-{ 
-namespace Http 
-{ 
-namespace SchemeMapper 
-{ 
- 
-    const char* ToString(Scheme scheme) 
-    { 
-        switch (scheme) 
-        { 
-            case Scheme::HTTP: 
-                return "http"; 
-            case Scheme::HTTPS: 
-                return "https"; 
-            default: 
-                return "http"; 
-        } 
-    } 
- 
-    Scheme FromString(const char* name) 
-    { 
-        Aws::String trimmedString = StringUtils::Trim(name); 
-        Aws::String loweredTrimmedString = StringUtils::ToLower(trimmedString.c_str()); 
- 
-        if (loweredTrimmedString == "http") 
-        { 
-            return Scheme::HTTP; 
-        } 
-        //this branch is technically unneeded, but it is here so we don't have a subtle bug 
-        //creep in as we extend this enum. 
-        else if (loweredTrimmedString == "https") 
-        { 
-            return Scheme::HTTPS; 
-        } 
- 
-        return Scheme::HTTPS; 
-    } 
- 
-} // namespace SchemeMapper 
-} // namespace Http 
-} // namespace Aws 
+
+#include <aws/core/http/Scheme.h>
+#include <aws/core/utils/memory/stl/AWSString.h>
+#include <aws/core/utils/StringUtils.h>
+
+using namespace Aws::Http;
+using namespace Aws::Utils;
+
+namespace Aws
+{
+namespace Http
+{
+namespace SchemeMapper
+{
+
+    const char* ToString(Scheme scheme)
+    {
+        switch (scheme)
+        {
+            case Scheme::HTTP:
+                return "http";
+            case Scheme::HTTPS:
+                return "https";
+            default:
+                return "http";
+        }
+    }
+
+    Scheme FromString(const char* name)
+    {
+        Aws::String trimmedString = StringUtils::Trim(name);
+        Aws::String loweredTrimmedString = StringUtils::ToLower(trimmedString.c_str());
+
+        if (loweredTrimmedString == "http")
+        {
+            return Scheme::HTTP;
+        }
+        //this branch is technically unneeded, but it is here so we don't have a subtle bug
+        //creep in as we extend this enum.
+        else if (loweredTrimmedString == "https")
+        {
+            return Scheme::HTTPS;
+        }
+
+        return Scheme::HTTPS;
+    }
+
+} // namespace SchemeMapper
+} // namespace Http
+} // namespace Aws
-- 
cgit v1.2.3