mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-2587, RM-2833 and RM-2834. Applying changes in reponse to Tom's review comments. Thanks Tom.
This commit is contained in:
@@ -148,9 +148,7 @@ public final class RMCollectionUtils
|
|||||||
*/
|
*/
|
||||||
public static <T> HashSet<T> asSet(Collection<T> c)
|
public static <T> HashSet<T> asSet(Collection<T> c)
|
||||||
{
|
{
|
||||||
final HashSet<T> set = new HashSet<>();
|
return new HashSet<>(c);
|
||||||
set.addAll(c);
|
|
||||||
return set;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user