| 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 3a1c8fbfe1badf6731cc5569b65310f995c9b27d..6c88a0463a30e678781d0e90535c43ac9b3b8a84 100644
|
| --- a/pkg/analysis_server/lib/src/collections.dart
|
| +++ b/pkg/analysis_server/lib/src/collections.dart
|
| @@ -7,19 +7,19 @@
|
| *
|
| * The returned iterable is a lazily-evaluated view on the input iterables.
|
| */
|
| -Iterable/*<E>*/ concat/*<E>*/(Iterable<Iterable/*<E>*/ > iterables) =>
|
| +Iterable<E> concat<E>(Iterable<Iterable<E>> iterables) =>
|
| iterables.expand((x) => x);
|
|
|
| /**
|
| * Returns the concatenation of the input [iterables] as a [List].
|
| */
|
| -List/*<E>*/ concatToList/*<E>*/(Iterable<Iterable/*<E>*/ > iterables) =>
|
| +List<E> concatToList<E>(Iterable<Iterable<E>> iterables) =>
|
| concat(iterables).toList();
|
|
|
| /**
|
| * Returns the given [list] if it is not empty, or `null` otherwise.
|
| */
|
| -List/*<E>*/ nullIfEmpty/*<E>*/(List/*<E>*/ list) {
|
| +List<E> nullIfEmpty<E>(List<E> list) {
|
| if (list == null) {
|
| return null;
|
| }
|
|
|