| Index: pkg/analysis_server/lib/src/collections.dart
|
| diff --git a/pkg/analysis_server/lib/src/collections.dart b/pkg/analysis_server/lib/src/collections.dart
|
| index 1a1ba38e53540225abe11ab5c5807b38e3294213..f8ae2e4325276733b81a21947dfccc5f0eba2108 100644
|
| --- a/pkg/analysis_server/lib/src/collections.dart
|
| +++ b/pkg/analysis_server/lib/src/collections.dart
|
| @@ -5,21 +5,23 @@
|
| library collections;
|
|
|
| /**
|
| - * Returns the concatentation of the input iterables.
|
| + * Returns the concatenation of the input [iterables].
|
| *
|
| * The returned iterable is a lazily-evaluated view on the input iterables.
|
| */
|
| -Iterable concat(Iterable<Iterable> iterables) => iterables.expand((x) => x);
|
| +Iterable/*<E>*/ concat/*<E>*/(Iterable<Iterable/*<E>*/ > iterables) =>
|
| + iterables.expand((x) => x);
|
|
|
| /**
|
| - * Returns the concatentation of the input iterables as a [List].
|
| + * Returns the concatenation of the input [iterables] as a [List].
|
| */
|
| -List concatToList(Iterable<Iterable> iterables) => concat(iterables).toList();
|
| +List/*<E>*/ concatToList/*<E>*/(Iterable<Iterable/*<E>*/ > iterables) =>
|
| + concat(iterables).toList();
|
|
|
| /**
|
| * Returns the given [list] if it is not empty, or `null` otherwise.
|
| */
|
| -List nullIfEmpty(List list) {
|
| +List/*<E>*/ nullIfEmpty/*<E>*/(List/*<E>*/ list) {
|
| if (list == null) {
|
| return null;
|
| }
|
|
|