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

Side by Side Diff: samples/ui_lib/util/Uri.dart

Issue 10855140: Issue 3562. Analyzer should not warn about shadowing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
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 /** 5 /**
6 * A parsed URI, inspired by: 6 * A parsed URI, inspired by:
7 * http://closure-library.googlecode.com/svn/docs/class_goog_Uri.html 7 * http://closure-library.googlecode.com/svn/docs/class_goog_Uri.html
8 */ 8 */
9 class Uri extends uri.Uri { 9 class Uri extends uri.Uri {
10 /** 10 /**
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 if (component == null) return component; 66 if (component == null) return component;
67 67
68 return component.replaceAll('%3A', ':') 68 return component.replaceAll('%3A', ':')
69 .replaceAll('%2F', '/') 69 .replaceAll('%2F', '/')
70 .replaceAll('%3F', '?') 70 .replaceAll('%3F', '?')
71 .replaceAll('%3D', '=') 71 .replaceAll('%3D', '=')
72 .replaceAll('%26', '&') 72 .replaceAll('%26', '&')
73 .replaceAll('%20', ' '); 73 .replaceAll('%20', ' ');
74 } 74 }
75 75
76 Uri.fromString(String uri) : super.fromString(uri); 76 Uri.fromString(String uriString) : super.fromString(uriString);
77 } 77 }
OLDNEW
« no previous file with comments | « editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/index/AnalysisMarkerManager.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698