OLD | NEW |
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.src.task.manager; | 5 library analyzer.src.task.manager; |
6 | 6 |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 | 8 |
9 import 'package:analyzer/src/generated/java_engine.dart'; | 9 import 'package:analyzer/src/generated/java_engine.dart'; |
10 import 'package:analyzer/task/model.dart'; | 10 import 'package:analyzer/task/model.dart'; |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 /** | 105 /** |
106 * Given a list of task [descriptors] that can be used to compute some | 106 * Given a list of task [descriptors] that can be used to compute some |
107 * unspecified result, return the descriptor that will compute the result with | 107 * unspecified result, return the descriptor that will compute the result with |
108 * the least amount of work. | 108 * the least amount of work. |
109 */ | 109 */ |
110 TaskDescriptor _findBestTask(List<TaskDescriptor> descriptors) { | 110 TaskDescriptor _findBestTask(List<TaskDescriptor> descriptors) { |
111 // TODO(brianwilkerson) Improve this implementation. | 111 // TODO(brianwilkerson) Improve this implementation. |
112 return descriptors[0]; | 112 return descriptors[0]; |
113 } | 113 } |
114 } | 114 } |
OLD | NEW |