| Index: sdk/lib/_internal/pub/lib/src/utils.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/utils.dart b/sdk/lib/_internal/pub/lib/src/utils.dart
|
| index aceec1c740d80181296f4188d8d4d56b684ac7ba..befd57cc450b6483276c01067262101933a34a43 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/utils.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/utils.dart
|
| @@ -298,7 +298,7 @@ List<String> split1(String toSplit, String pattern) {
|
| /// parameters if a name conflict occurs.
|
| Uri addQueryParameters(Uri url, Map<String, String> parameters) {
|
| var queryMap = queryToMap(url.query);
|
| - mapAddAll(queryMap, parameters);
|
| + queryMap.addAll(parameters);
|
| return url.resolve("?${mapToQuery(queryMap)}");
|
| }
|
|
|
| @@ -342,11 +342,6 @@ Uri canonicalizeUri(Uri uri) {
|
| return uri;
|
| }
|
|
|
| -/// Add all key/value pairs from [source] to [destination], overwriting any
|
| -/// pre-existing values.
|
| -void mapAddAll(Map destination, Map source) =>
|
| - source.forEach((key, value) => destination[key] = value);
|
| -
|
| /// Decodes a URL-encoded string. Unlike [Uri.decodeComponent], this includes
|
| /// replacing `+` with ` `.
|
| String urlDecode(String encoded) =>
|
|
|