RM-2587, RM-2833 and RM-2834. Applying changes in reponse to Tom's review comments. Thanks Tom.

This commit is contained in:
nmcerlean
2016-01-21 11:45:29 +00:00
parent 88b0dec4d3
commit 6adcc6b1cd

View File

@@ -148,9 +148,7 @@ public final class RMCollectionUtils
*/
public static <T> HashSet<T> asSet(Collection<T> c)
{
final HashSet<T> set = new HashSet<>();
set.addAll(c);
return set;
return new HashSet<>(c);
}
/**