Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: sdk/lib/core/uri.dart

Issue 1980573003: fix all instances of "the the" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sdk/lib/core/set.dart ('k') | sdk/lib/io/bytes_builder.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart.core; 5 part of dart.core;
6 6
7 /** 7 /**
8 * A parsed URI, such as a URL. 8 * A parsed URI, such as a URL.
9 * 9 *
10 * **See also:** 10 * **See also:**
(...skipping 3180 matching lines...) Expand 10 before | Expand all | Expand 10 after
3191 if (isBase64) { 3191 if (isBase64) {
3192 var converter = BASE64.decoder.fuse(encoding.decoder); 3192 var converter = BASE64.decoder.fuse(encoding.decoder);
3193 return converter.convert(text.substring(start)); 3193 return converter.convert(text.substring(start));
3194 } 3194 }
3195 return Uri._uriDecode(text, start, text.length, encoding, false); 3195 return Uri._uriDecode(text, start, text.length, encoding, false);
3196 } 3196 }
3197 3197
3198 /** 3198 /**
3199 * A map representing the parameters of the media type. 3199 * A map representing the parameters of the media type.
3200 * 3200 *
3201 * A data URI may contain parameters between the the MIME type and the 3201 * A data URI may contain parameters between the MIME type and the
3202 * data. This converts these parameters to a map from parameter name 3202 * data. This converts these parameters to a map from parameter name
3203 * to parameter value. 3203 * to parameter value.
3204 * The map only contains parameters that actually occur in the URI. 3204 * The map only contains parameters that actually occur in the URI.
3205 * The `charset` parameter has a default value even if it doesn't occur 3205 * The `charset` parameter has a default value even if it doesn't occur
3206 * in the URI, which is reflected by the [charset] getter. This means that 3206 * in the URI, which is reflected by the [charset] getter. This means that
3207 * [charset] may return a value even if `parameters["charset"]` is `null`. 3207 * [charset] may return a value even if `parameters["charset"]` is `null`.
3208 * 3208 *
3209 * If the values contain non-ASCII values or percent escapes, they default 3209 * If the values contain non-ASCII values or percent escapes, they default
3210 * to being decoded as UTF-8. 3210 * to being decoded as UTF-8.
3211 */ 3211 */
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
3345 // All non-escape RFC-2396 uric characters. 3345 // All non-escape RFC-2396 uric characters.
3346 // 3346 //
3347 // uric = reserved | unreserved | escaped 3347 // uric = reserved | unreserved | escaped
3348 // reserved = ";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" | "$" | "," 3348 // reserved = ";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" | "$" | ","
3349 // unreserved = alphanum | mark 3349 // unreserved = alphanum | mark
3350 // mark = "-" | "_" | "." | "!" | "~" | "*" | "'" | "(" | ")" 3350 // mark = "-" | "_" | "." | "!" | "~" | "*" | "'" | "(" | ")"
3351 // 3351 //
3352 // This is the same characters as in a URI query (which is URI pchar plus '?') 3352 // This is the same characters as in a URI query (which is URI pchar plus '?')
3353 static const _uricTable = Uri._queryCharTable; 3353 static const _uricTable = Uri._queryCharTable;
3354 } 3354 }
OLDNEW
« no previous file with comments | « sdk/lib/core/set.dart ('k') | sdk/lib/io/bytes_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698