Got it. I'll make the change as soon as I get home.
On Feb 7, 2014 3:26 PM, "Christopher Wade" <notifications@github.com> wrote:

> In src/Patterns/Collections/CollectionExtensions.cs:
>
> > +        }
> > +      }
> > +    }
> > +
> > +    /// <summary>
> > +    ///   Guarantees that the specified set is not null. If the set is null, an empty set is returned.
> > +    /// </summary>
> > +    /// <typeparam name="TItem">The type of the item.</typeparam>
> > +    /// <param name="set">The set.</param>
> > +    public static IEnumerable<TItem> EmptyIfNull<TItem>(this IEnumerable<TItem> set)
> > +    {
> > +      return set ?? Enumerable.Empty<TItem>();
> > +    }
> > +
> > +    /// <summary>
> > +    ///   Compacts the specified set by removing all null items.
>
> Copying my comment onto the newest commit, consider adding a note about
> the order of the set not being preserved.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/TheTribe/code-patterns/pull/155/files#r9555820>
> .
>