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

Unified Diff: pkg/analyzer/lib/src/generated/resolver.dart

Issue 1026093002: Fix hints in the analyzer package. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/generated/parser.dart ('k') | pkg/analyzer/lib/src/generated/sdk_io.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/resolver.dart
diff --git a/pkg/analyzer/lib/src/generated/resolver.dart b/pkg/analyzer/lib/src/generated/resolver.dart
index 1bcc17d5fcd844ffae04f06411d22e948d778f29..17ec9deae4a325040010b6e846b84d5ff5be0488 100644
--- a/pkg/analyzer/lib/src/generated/resolver.dart
+++ b/pkg/analyzer/lib/src/generated/resolver.dart
@@ -4742,7 +4742,7 @@ class HtmlUnitBuilder implements ht.XmlVisitor<Object> {
_reportValueError(HtmlWarningCode.URI_DOES_NOT_EXIST,
scriptAttribute, [scriptSourcePath]);
}
- } on URISyntaxException catch (exception) {
+ } on URISyntaxException {
_reportValueError(HtmlWarningCode.INVALID_URI, scriptAttribute,
[scriptSourcePath]);
}
@@ -6948,7 +6948,7 @@ class Library {
CompileTimeErrorCode.URI_DOES_NOT_EXIST, [uriContent]));
}
return source;
- } on URISyntaxException catch (exception) {
+ } on URISyntaxException {
_errorListener.onError(new AnalysisError.con2(librarySource,
uriLiteral.offset, uriLiteral.length,
CompileTimeErrorCode.INVALID_URI, [uriContent]));
« no previous file with comments | « pkg/analyzer/lib/src/generated/parser.dart ('k') | pkg/analyzer/lib/src/generated/sdk_io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698