Index: pkg/analyzer/lib/src/task/general.dart |
diff --git a/pkg/analyzer/lib/src/task/general.dart b/pkg/analyzer/lib/src/task/general.dart |
index 5cb31ed699b0a0a3bfb9af9389ad44d9ad5d51bf..0905771c2b6e854844dad80bdb6a7888c2c92739 100644 |
--- a/pkg/analyzer/lib/src/task/general.dart |
+++ b/pkg/analyzer/lib/src/task/general.dart |
@@ -17,11 +17,8 @@ class GetContentTask extends SourceBasedAnalysisTask { |
/** |
* The task descriptor describing this kind of task. |
*/ |
- static final TaskDescriptor DESCRIPTOR = new TaskDescriptor( |
- 'GET_CONTENT', |
- createTask, |
- buildInputs, |
- <ResultDescriptor>[CONTENT, MODIFICATION_TIME]); |
+ static final TaskDescriptor DESCRIPTOR = new TaskDescriptor('GET_CONTENT', |
+ createTask, buildInputs, <ResultDescriptor>[CONTENT, MODIFICATION_TIME]); |
/** |
* Initialize a newly created task to access the content of the source |
@@ -54,8 +51,8 @@ class GetContentTask extends SourceBasedAnalysisTask { |
* Create a [GetContentTask] based on the given [target] in the given |
* [context]. |
*/ |
- static GetContentTask createTask(AnalysisContext context, |
- AnalysisTarget target) { |
+ static GetContentTask createTask( |
+ AnalysisContext context, AnalysisTarget target) { |
return new GetContentTask(context, target); |
} |
} |