diff options
author | unril <unril@yandex-team.ru> | 2022-02-10 16:46:05 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:05 +0300 |
commit | 3b241dd57cf58f20bbbd63fa6a0a758dbec09b68 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Grantee.cpp | |
parent | 11ae9eca250d0188b7962459cbc6706719e7dca9 (diff) | |
download | ydb-3b241dd57cf58f20bbbd63fa6a0a758dbec09b68.tar.gz |
Restoring authorship annotation for <unril@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Grantee.cpp')
-rw-r--r-- | contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Grantee.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Grantee.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Grantee.cpp index 16c51c2bb5..31a95234cf 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Grantee.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Grantee.cpp @@ -65,10 +65,10 @@ Grantee& Grantee::operator =(const XmlNode& xmlNode) m_iD = Aws::Utils::Xml::DecodeEscapedXmlText(iDNode.GetText()); m_iDHasBeenSet = true; } - auto type = resultNode.GetAttributeValue("xsi:type"); - if(!type.empty()) + auto type = resultNode.GetAttributeValue("xsi:type"); + if(!type.empty()) { - m_type = TypeMapper::GetTypeForName(StringUtils::Trim(type.c_str()).c_str()); + m_type = TypeMapper::GetTypeForName(StringUtils::Trim(type.c_str()).c_str()); m_typeHasBeenSet = true; } XmlNode uRINode = resultNode.FirstChild("URI"); @@ -85,7 +85,7 @@ Grantee& Grantee::operator =(const XmlNode& xmlNode) void Grantee::AddToNode(XmlNode& parentNode) const { Aws::StringStream ss; - parentNode.SetAttributeValue("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance"); + parentNode.SetAttributeValue("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance"); if(m_displayNameHasBeenSet) { XmlNode displayNameNode = parentNode.CreateChildElement("DisplayName"); @@ -106,7 +106,7 @@ void Grantee::AddToNode(XmlNode& parentNode) const if(m_typeHasBeenSet) { - parentNode.SetAttributeValue("xsi:type", TypeMapper::GetNameForType(m_type)); + parentNode.SetAttributeValue("xsi:type", TypeMapper::GetNameForType(m_type)); } if(m_uRIHasBeenSet) |