File tree Expand file tree Collapse file tree 3 files changed +0
-6
lines changed Expand file tree Collapse file tree 3 files changed +0
-6
lines changed Original file line number Diff line number Diff line change 1
1
// Tencent is pleased to support the open source community by making RapidJSON available->
2
2
//
3
3
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip-> All rights reserved->
4
- // Portions (C) Copyright IBM Corporation 2021
5
4
//
6
5
// Licensed under the MIT License (the "License"); you may not use this file except
7
6
// in compliance with the License-> You may obtain a copy of the License at
Original file line number Diff line number Diff line change @@ -110,7 +110,6 @@ class GenericUri {
110
110
}
111
111
base_ = scheme_ + auth_ + path_ + query_;
112
112
uri_ = base_ + frag_;
113
- // std::cout << " Resolved uri: " << uri_ << std::endl;
114
113
return *this ;
115
114
}
116
115
@@ -196,7 +195,6 @@ class GenericUri {
196
195
}
197
196
base_ = scheme_ + auth_ + path_ + query_;
198
197
uri_ = base_ + frag_;
199
- // 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;
200
198
}
201
199
202
200
// Remove . and .. segments from a path
@@ -209,7 +207,6 @@ class GenericUri {
209
207
std::size_t pos = 0 ;
210
208
// Loop through each path segment
211
209
while (pos != std::string::npos) {
212
- // std::cout << "Temp: '" << temp.c_str() << "' Path: '" << path.c_str() << "'" << std::endl;
213
210
pos = temp.find_first_of (slash);
214
211
// Get next segment
215
212
String seg = temp.substr (0 , pos);
@@ -233,7 +230,6 @@ class GenericUri {
233
230
// Move to next segment if not at end
234
231
if (pos != std::string::npos) temp = temp.substr (pos + 1 );
235
232
}
236
- // std::cout << "Final Temp: '" << temp.c_str() << "' Final Path: '" << path.c_str() << "'" << std::endl;
237
233
}
238
234
239
235
String uri_; // Full uri
Original file line number Diff line number Diff line change 1
1
// Tencent is pleased to support the open source community by making RapidJSON available.
2
2
//
3
3
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip.
4
- // Portions (C) Copyright IBM Corporation 2021
5
4
//
6
5
// Licensed under the MIT License (the "License"); you may not use this file except
7
6
// in compliance with the License. You may obtain a copy of the License at
You can’t perform that action at this time.
0 commit comments