You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2021/01/15 16:12:23 UTC

[groovy] branch missing-dot updated (0a77079 -> e56b85d)

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

sunlan pushed a change to branch missing-dot
in repository https://gitbox.apache.org/repos/asf/groovy.git.


 discard 0a77079  Try to address javadoc issue
 discard 2f0803f  Try to address javadoc issue
 discard 5d0beab  Try to address javadoc issue
     new e56b85d  Try to address javadoc issue

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (0a77079)
            \
             N -- N -- N   refs/heads/missing-dot (e56b85d)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ...le-snapshot-distribution.yml => build-test.yml} | 22 ++++---
 .../workflows/gradle-wrapper-validation.yml        | 14 +++--
 .github/workflows/grails-joint-validation.yml      | 66 +++++++++++++++++++++
 .github/workflows/micronaut-joint-validation.yml   | 67 ++++++++++++++++++++++
 .../collection/runtime/QueryableHelper.groovy      |  9 ++-
 .../collection/runtime/ThreadPoolHolder.groovy     | 13 -----
 6 files changed, 165 insertions(+), 26 deletions(-)
 copy .github/workflows/{gradle-snapshot-distribution.yml => build-test.yml} (71%)
 copy config/bnd/groovy.bnd => .github/workflows/gradle-wrapper-validation.yml (74%)
 create mode 100644 .github/workflows/grails-joint-validation.yml
 create mode 100644 .github/workflows/micronaut-joint-validation.yml
 delete mode 100644 subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/ThreadPoolHolder.groovy


[groovy] 01/01: Try to address javadoc issue

Posted by su...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch missing-dot
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit e56b85df171f8c478113eb03d4790d76e2823a9b
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sat Jan 16 00:12:04 2021 +0800

    Try to address javadoc issue
---
 .github/workflows/gradle-snapshot-distribution.yml | 32 ++--------------------
 .../collection/runtime/QueryableHelper.groovy      | 13 +--------
 2 files changed, 3 insertions(+), 42 deletions(-)

diff --git a/.github/workflows/gradle-snapshot-distribution.yml b/.github/workflows/gradle-snapshot-distribution.yml
index ac8078c..f0a6a20 100644
--- a/.github/workflows/gradle-snapshot-distribution.yml
+++ b/.github/workflows/gradle-snapshot-distribution.yml
@@ -23,7 +23,7 @@ jobs:
       fail-fast: true
       matrix:
         os: [ubuntu-18.04]
-        java: [11.0.6]
+        java: [11.0.9]
     runs-on: ${{ matrix.os }}
     steps:
       - uses: actions/checkout@v1
@@ -34,33 +34,5 @@ jobs:
       - name: Install graphviz
         run: sudo apt-get -y install graphviz
       - name: Build and package
-        run: ./gradlew clean dist --no-build-cache --no-scan
+        run: ./gradlew clean javadocAll --no-build-cache --no-scan
         timeout-minutes: 60
-      - name: Move binary distribution
-        run:  mkdir -p build/distributions/binary/ && mv subprojects/groovy-binary/build/distributions/apache-groovy-binary-*.zip build/distributions/binary/
-      - name: Move src distribution
-        run:  mkdir -p build/distributions/src/ && mv subprojects/groovy-binary/build/distributions/apache-groovy-src-*.zip build/distributions/src/
-      - name: Move docs distribution
-        run:  mkdir -p build/distributions/docs/ && mv subprojects/groovy-binary/build/distributions/apache-groovy-docs-*.zip build/distributions/docs/
-      - name: Move sdk distribution
-        run:  mkdir -p build/distributions/sdk/ && mv subprojects/groovy-binary/build/distributions/apache-groovy-sdk-*.zip build/distributions/sdk/
-      - name: Upload binary distribution
-        uses: actions/upload-artifact@v1
-        with:
-          name: apache-groovy-binary-SNAPSHOT
-          path: build/distributions/binary/
-      - name: Upload src distribution
-        uses: actions/upload-artifact@v1
-        with:
-          name: apache-groovy-src-SNAPSHOT
-          path: build/distributions/src/
-      - name: Upload docs distribution
-        uses: actions/upload-artifact@v1
-        with:
-          name: apache-groovy-docs-SNAPSHOT
-          path: build/distributions/docs/
-      - name: Upload sdk distribution
-        uses: actions/upload-artifact@v1
-        with:
-          name: apache-groovy-sdk-SNAPSHOT
-          path: build/distributions/sdk/
diff --git a/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/QueryableHelper.groovy b/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/QueryableHelper.groovy
index 0825dcb..237f29a 100644
--- a/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/QueryableHelper.groovy
+++ b/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/QueryableHelper.groovy
@@ -23,15 +23,12 @@ import groovy.transform.CompileStatic
 import java.util.concurrent.CompletableFuture
 import java.util.concurrent.ExecutorService
 import java.util.concurrent.Executors
-import java.util.concurrent.ThreadFactory
 import java.util.concurrent.TimeUnit
-import java.util.concurrent.atomic.AtomicInteger
 import java.util.function.Function
 import java.util.function.Supplier
 import java.util.stream.Collectors
 
 import static org.apache.groovy.ginq.provider.collection.runtime.Queryable.from
-
 /**
  * Helper for {@link Queryable}
  *
@@ -129,15 +126,7 @@ class QueryableHelper {
     private QueryableHelper() {}
 
     private static class ThreadPoolHolder {
-        static final ExecutorService THREAD_POOL = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors(), new ThreadFactory() {
-            private static final String THREAD_NAME_PREFIX = 'Thread-GINQ-'
-            private static final AtomicInteger SEQ = new AtomicInteger(0)
-
-            @Override
-            Thread newThread(Runnable r) {
-                return new Thread(r, "${THREAD_NAME_PREFIX}${SEQ.getAndIncrement()}")
-            }
-        })
+        static final ExecutorService THREAD_POOL = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors())
 
         private ThreadPoolHolder() {}
     }