You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2019/06/02 15:49:19 UTC

[lucene-solr] 01/02: SOLR-13452: Use a HashSet for collecting files instead of an ArrayList.

This is an automated email from the ASF dual-hosted git repository.

markrmiller pushed a commit to branch jira/SOLR-13452_gradle_3
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git

commit 5891035cd82d6de1e0e26c940155a838efa2f961
Author: markrmiller <ma...@apache.org>
AuthorDate: Sun Jun 2 10:42:01 2019 -0500

    SOLR-13452: Use a HashSet for collecting files instead of an ArrayList.
---
 buildSrc/src/main/groovy/org/apache/lucene/gradle/JarChecksum.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildSrc/src/main/groovy/org/apache/lucene/gradle/JarChecksum.groovy b/buildSrc/src/main/groovy/org/apache/lucene/gradle/JarChecksum.groovy
index e21bccc..aa17f95 100644
--- a/buildSrc/src/main/groovy/org/apache/lucene/gradle/JarChecksum.groovy
+++ b/buildSrc/src/main/groovy/org/apache/lucene/gradle/JarChecksum.groovy
@@ -46,7 +46,7 @@ class JarChecksum extends DefaultTask {
       tmpDir.deleteOnExit()
       tmpDir.mkdirs()
       
-      List<File> deps = new ArrayList<>()
+      Set<File> deps = new HashSet<>()
       project.allprojects.each { p ->
         p.configurations.each { Configuration config ->
           if (config.isCanBeResolved()) {