From a82c15ea42cc4bfb69e32d7d8e2b948e623356c3 Mon Sep 17 00:00:00 2001 From: konstantin Date: Sun, 12 Nov 2023 23:14:50 +0200 Subject: [PATCH] Rollback optimimzation for unique search terms to satisfy japicmp types compatibility --- src/main/java/org/kohsuke/github/GHSearchBuilder.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/kohsuke/github/GHSearchBuilder.java b/src/main/java/org/kohsuke/github/GHSearchBuilder.java index fef19fffda..d7a25353ee 100644 --- a/src/main/java/org/kohsuke/github/GHSearchBuilder.java +++ b/src/main/java/org/kohsuke/github/GHSearchBuilder.java @@ -2,8 +2,8 @@ import org.apache.commons.lang3.StringUtils; -import java.util.LinkedHashSet; -import java.util.Set; +import java.util.ArrayList; +import java.util.List; import javax.annotation.CheckForNull; import javax.annotation.Nonnull; @@ -19,7 +19,7 @@ public abstract class GHSearchBuilder extends GHQueryBuilder { /** The terms. */ - protected final Set terms = new LinkedHashSet<>(); + protected final List terms = new ArrayList(); /** * Data transfer object that receives the result of search.