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

Unified Diff: pkg/analyzer/lib/src/generated/ast.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/file_system/memory_file_system.dart ('k') | pkg/analyzer/lib/src/generated/constant.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/ast.dart
diff --git a/pkg/analyzer/lib/src/generated/ast.dart b/pkg/analyzer/lib/src/generated/ast.dart
index a7dc8e736d2079989b8179446b48adc1eb3af0f1..f202e83c50587e9911065fd7db24e6fc54e511b7 100644
--- a/pkg/analyzer/lib/src/generated/ast.dart
+++ b/pkg/analyzer/lib/src/generated/ast.dart
@@ -12405,7 +12405,7 @@ class NodeLocator extends UnifyingAstVisitor<Object> {
}
try {
node.accept(this);
- } on NodeLocator_NodeFoundException catch (exception) {
+ } on NodeLocator_NodeFoundException {
// A node with the right source position was found.
} catch (exception, stackTrace) {
AnalysisEngine.instance.logger.logInformation(
@@ -12428,7 +12428,7 @@ class NodeLocator extends UnifyingAstVisitor<Object> {
}
try {
node.visitChildren(this);
- } on NodeLocator_NodeFoundException catch (exception) {
+ } on NodeLocator_NodeFoundException {
rethrow;
} catch (exception, stackTrace) {
// Ignore the exception and proceed in order to visit the rest of the
@@ -16747,7 +16747,7 @@ abstract class StringLiteral extends Literal {
StringBuffer buffer = new StringBuffer();
try {
_appendStringValue(buffer);
- } on IllegalArgumentException catch (exception) {
+ } on IllegalArgumentException {
return null;
}
return buffer.toString();
@@ -19519,7 +19519,7 @@ abstract class UriBasedDirective extends Directive {
}
try {
parseUriWithException(Uri.encodeFull(uriContent));
- } on URISyntaxException catch (exception) {
+ } on URISyntaxException {
return UriValidationCode.INVALID_URI;
}
return null;
« no previous file with comments | « pkg/analyzer/lib/file_system/memory_file_system.dart ('k') | pkg/analyzer/lib/src/generated/constant.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698