Repository: bval Updated Branches: refs/heads/bv2 381ce9275 -> 0486d282e
ws Project: http://git-wip-us.apache.org/repos/asf/bval/repo Commit: http://git-wip-us.apache.org/repos/asf/bval/commit/0486d282 Tree: http://git-wip-us.apache.org/repos/asf/bval/tree/0486d282 Diff: http://git-wip-us.apache.org/repos/asf/bval/diff/0486d282 Branch: refs/heads/bv2 Commit: 0486d282e81b68a25246ed942177d92242eb626d Parents: 381ce92 Author: Matt Benson <[email protected]> Authored: Wed Feb 28 10:54:48 2018 -0600 Committer: Matt Benson <[email protected]> Committed: Wed Feb 28 10:54:48 2018 -0600 ---------------------------------------------------------------------- .../src/main/java/org/apache/bval/jsr/util/ToUnmodifiable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bval/blob/0486d282/bval-jsr/src/main/java/org/apache/bval/jsr/util/ToUnmodifiable.java ---------------------------------------------------------------------- diff --git a/bval-jsr/src/main/java/org/apache/bval/jsr/util/ToUnmodifiable.java b/bval-jsr/src/main/java/org/apache/bval/jsr/util/ToUnmodifiable.java index 7187c4d..98c70be 100644 --- a/bval-jsr/src/main/java/org/apache/bval/jsr/util/ToUnmodifiable.java +++ b/bval-jsr/src/main/java/org/apache/bval/jsr/util/ToUnmodifiable.java @@ -34,7 +34,7 @@ public class ToUnmodifiable { public static <T> Collector<T, ?, Set<T>> set(Supplier<Set<T>> set) { return Collectors.collectingAndThen(Collectors.toCollection(set), Collections::unmodifiableSet); } - + public static <T> Collector<T, ?, Set<T>> set() { return Collectors.collectingAndThen(Collectors.toCollection(LinkedHashSet::new), Collections::unmodifiableSet); }
