From 892ecf337f26bf0f68866120abbda23cea1b8372 Mon Sep 17 00:00:00 2001 From: noodlze Date: Sun, 19 Mar 2023 19:14:37 +0700 Subject: [PATCH] Update common/src/main/java/com/linecorp/centraldogma/common/PathPattern.java Co-authored-by: Trustin Lee --- .../main/java/com/linecorp/centraldogma/common/PathPattern.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/linecorp/centraldogma/common/PathPattern.java b/common/src/main/java/com/linecorp/centraldogma/common/PathPattern.java index 3b1786aa79..2db4ef795b 100644 --- a/common/src/main/java/com/linecorp/centraldogma/common/PathPattern.java +++ b/common/src/main/java/com/linecorp/centraldogma/common/PathPattern.java @@ -68,7 +68,7 @@ static PathPattern of(PathPattern... pathPatterns) { if (pathPatterns.length == 1) { return pathPatterns[0]; } - return new DefaultPathPattern(ImmutableList.copyOf(pathPatterns)); + return new DefaultPathPattern(ImmutableSet.copyOf(pathPatterns)); } /**