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

Unified Diff: pkg/analysis_server/lib/src/services/correction/status.dart

Issue 969113002: Reformat (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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
Index: pkg/analysis_server/lib/src/services/correction/status.dart
diff --git a/pkg/analysis_server/lib/src/services/correction/status.dart b/pkg/analysis_server/lib/src/services/correction/status.dart
index b8b8f381e01c27c38a67536e65f95cf7b771712e..df37d12f31e517fd3c20606b695695af212ccd5b 100644
--- a/pkg/analysis_server/lib/src/services/correction/status.dart
+++ b/pkg/analysis_server/lib/src/services/correction/status.dart
@@ -6,7 +6,6 @@ library services.status;
import 'package:analysis_server/src/protocol.dart';
-
/**
* An outcome of a condition checking operation.
*/
@@ -112,22 +111,16 @@ class RefactoringStatus {
* Adds an ERROR problem with the given message and location.
*/
void addError(String msg, [Location location]) {
- _addProblem(
- new RefactoringProblem(
- RefactoringProblemSeverity.ERROR,
- msg,
- location: location));
+ _addProblem(new RefactoringProblem(RefactoringProblemSeverity.ERROR, msg,
+ location: location));
}
/**
* Adds a FATAL problem with the given message and location.
*/
void addFatalError(String msg, [Location location]) {
- _addProblem(
- new RefactoringProblem(
- RefactoringProblemSeverity.FATAL,
- msg,
- location: location));
+ _addProblem(new RefactoringProblem(RefactoringProblemSeverity.FATAL, msg,
+ location: location));
}
/**
@@ -151,11 +144,8 @@ class RefactoringStatus {
* Adds a WARNING problem with the given message and location.
*/
void addWarning(String msg, [Location location]) {
- _addProblem(
- new RefactoringProblem(
- RefactoringProblemSeverity.WARNING,
- msg,
- location: location));
+ _addProblem(new RefactoringProblem(RefactoringProblemSeverity.WARNING, msg,
+ location: location));
}
@override

Powered by Google App Engine
This is Rietveld 408576698