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.