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

Side by Side Diff: pkg/analyzer/lib/task/model.dart

Issue 1521883002: Fix lints: unnecessary_brace_in_string_interp (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 library analyzer.task.model; 5 library analyzer.task.model;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 import 'dart:developer'; 8 import 'dart:developer';
9 9
10 import 'package:analyzer/src/generated/engine.dart' hide AnalysisTask; 10 import 'package:analyzer/src/generated/engine.dart' hide AnalysisTask;
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 * this task is expected to produce) or the [caughtException] should be set. 204 * this task is expected to produce) or the [caughtException] should be set.
205 * 205 *
206 * Clients may not override this method. 206 * Clients may not override this method.
207 */ 207 */
208 void perform() { 208 void perform() {
209 try { 209 try {
210 _safelyPerform(); 210 _safelyPerform();
211 } on AnalysisException catch (exception, stackTrace) { 211 } on AnalysisException catch (exception, stackTrace) {
212 caughtException = new CaughtException(exception, stackTrace); 212 caughtException = new CaughtException(exception, stackTrace);
213 AnalysisEngine.instance.logger 213 AnalysisEngine.instance.logger
214 .logError("Task failed: ${description}", caughtException); 214 .logError("Task failed: $description", caughtException);
215 } 215 }
216 } 216 }
217 217
218 @override 218 @override
219 String toString() => description; 219 String toString() => description;
220 220
221 /** 221 /**
222 * Given a strongly connected component, find and return a list of 222 * Given a strongly connected component, find and return a list of
223 * [TargetedResult]s that describes a cyclic path within the cycle. Returns 223 * [TargetedResult]s that describes a cyclic path within the cycle. Returns
224 * null if no cyclic path is found. 224 * null if no cyclic path is found.
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 /** 736 /**
737 * A work should be done, but without any special urgency. 737 * A work should be done, but without any special urgency.
738 */ 738 */
739 NORMAL, 739 NORMAL,
740 740
741 /** 741 /**
742 * Nothing to do. 742 * Nothing to do.
743 */ 743 */
744 NONE 744 NONE
745 } 745 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/tool/spec/from_html.dart ('k') | pkg/analyzer/test/src/context/mock_sdk.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698