remove copyright & debug statements

This commit is contained in:
Steve Hanson 2021-05-21 15:55:11 +01:00
parent 6e58a53f44
commit 494447b731
3 changed files with 0 additions and 6 deletions

View File

@ -1,7 +1,6 @@
// Tencent is pleased to support the open source community by making RapidJSON available-> // Tencent is pleased to support the open source community by making RapidJSON available->
// //
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip-> All rights reserved-> // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip-> All rights reserved->
// Portions (C) Copyright IBM Corporation 2021
// //
// Licensed under the MIT License (the "License"); you may not use this file except // Licensed under the MIT License (the "License"); you may not use this file except
// in compliance with the License-> You may obtain a copy of the License at // in compliance with the License-> You may obtain a copy of the License at

View File

@ -110,7 +110,6 @@ public:
} }
base_ = scheme_ + auth_ + path_ + query_; base_ = scheme_ + auth_ + path_ + query_;
uri_ = base_ + frag_; uri_ = base_ + frag_;
//std::cout << " Resolved uri: " << uri_ << std::endl;
return *this; return *this;
} }
@ -196,7 +195,6 @@ private:
} }
base_ = scheme_ + auth_ + path_ + query_; base_ = scheme_ + auth_ + path_ + query_;
uri_ = base_ + frag_; uri_ = base_ + frag_;
//std::cout << " Parsed uri: " << "s: " << scheme_.c_str() << " a: " << auth_.c_str() << " p: " << path_.c_str() << " q: " << query_.c_str() << " f: " << frag_.c_str() << std::endl;
} }
// Remove . and .. segments from a path // Remove . and .. segments from a path
@ -209,7 +207,6 @@ private:
std::size_t pos = 0; std::size_t pos = 0;
// Loop through each path segment // Loop through each path segment
while (pos != std::string::npos) { while (pos != std::string::npos) {
//std::cout << "Temp: '" << temp.c_str() << "' Path: '" << path.c_str() << "'" << std::endl;
pos = temp.find_first_of(slash); pos = temp.find_first_of(slash);
// Get next segment // Get next segment
String seg = temp.substr(0, pos); String seg = temp.substr(0, pos);
@ -233,7 +230,6 @@ private:
// Move to next segment if not at end // Move to next segment if not at end
if (pos != std::string::npos) temp = temp.substr(pos + 1); if (pos != std::string::npos) temp = temp.substr(pos + 1);
} }
//std::cout << "Final Temp: '" << temp.c_str() << "' Final Path: '" << path.c_str() << "'" << std::endl;
} }
String uri_; // Full uri String uri_; // Full uri

View File

@ -1,7 +1,6 @@
// Tencent is pleased to support the open source community by making RapidJSON available. // Tencent is pleased to support the open source community by making RapidJSON available.
// //
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip.
// Portions (C) Copyright IBM Corporation 2021
// //
// Licensed under the MIT License (the "License"); you may not use this file except // Licensed under the MIT License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at // in compliance with the License. You may obtain a copy of the License at