You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2019/12/10 12:48:57 UTC

[lucene-solr] branch master updated (e84a235 -> 340017a)

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

cpoerschke pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git.


    from e84a235  SOLR-14029: Solr Ref Guide: clarify requestDispatcher handleSelect=true
     new b97afd7  Fix 5 javac warnings: 'yield' may become a restricted identifier in a future release.
     new 340017a  LUCENE-8944: remove "I am authorized to contribute" wording in the Pull Request Template

The 2 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:
 .github/PULL_REQUEST_TEMPLATE.md                          |  1 -
 solr/core/src/test/org/apache/solr/core/SolrCoreTest.java | 12 ++++++------
 2 files changed, 6 insertions(+), 7 deletions(-)


[lucene-solr] 02/02: LUCENE-8944: remove "I am authorized to contribute" wording in the Pull Request Template

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

cpoerschke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git

commit 340017a4d388861a503ab9b72f789588e2a4add5
Author: Christine Poerschke <cp...@apache.org>
AuthorDate: Tue Dec 10 12:34:23 2019 +0000

    LUCENE-8944: remove "I am authorized to contribute" wording in the Pull Request Template
---
 .github/PULL_REQUEST_TEMPLATE.md | 1 -
 1 file changed, 1 deletion(-)

diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 18cf2e5..9f2f786 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -36,7 +36,6 @@ Please review the following and check all that apply:
 
 - [ ] I have reviewed the guidelines for [How to Contribute](https://wiki.apache.org/solr/HowToContribute) and my code conforms to the standards described there to the best of my ability.
 - [ ] I have created a Jira issue and added the issue ID to my pull request title.
-- [ ] I am authorized to contribute this code to the ASF and have removed any code I do not have a license to distribute.
 - [ ] I have given Solr maintainers [access](https://help.github.com/en/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork) to contribute to my PR branch. (optional but recommended)
 - [ ] I have developed this patch against the `master` branch.
 - [ ] I have run `ant precommit` and the appropriate test suite.


[lucene-solr] 01/02: Fix 5 javac warnings: 'yield' may become a restricted identifier in a future release.

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

cpoerschke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git

commit b97afd79cab2c247a4143efebc80e4dcec436095
Author: Christine Poerschke <cp...@apache.org>
AuthorDate: Tue Dec 10 12:32:34 2019 +0000

    Fix 5 javac warnings: 'yield' may become a restricted identifier in a future release.
---
 solr/core/src/test/org/apache/solr/core/SolrCoreTest.java | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/solr/core/src/test/org/apache/solr/core/SolrCoreTest.java b/solr/core/src/test/org/apache/solr/core/SolrCoreTest.java
index d9411ba..6553c7e 100644
--- a/solr/core/src/test/org/apache/solr/core/SolrCoreTest.java
+++ b/solr/core/src/test/org/apache/solr/core/SolrCoreTest.java
@@ -192,7 +192,7 @@ public class SolrCoreTest extends SolrTestCaseJ4 {
     final CoreContainer cores = h.getCoreContainer();
     for (int i = 0; i < MT; ++i) {
       Callable<Integer> call = new Callable<Integer>() {
-        void yield(int n) {
+        void yieldInt(int n) {
           try {
             Thread.sleep(0, (n % 13 + 1) * 10);
           } catch (InterruptedException xint) {
@@ -208,16 +208,16 @@ public class SolrCoreTest extends SolrTestCaseJ4 {
               r += 1;
               core = cores.getCore(SolrTestCaseJ4.DEFAULT_TEST_CORENAME);
               // sprinkle concurrency hinting...
-              yield(l);
+              yieldInt(l);
               assertTrue("Refcount < 1", core.getOpenCount() >= 1);              
-              yield(l);
+              yieldInt(l);
               assertTrue("Refcount > 17", core.getOpenCount() <= 17);             
-              yield(l);
+              yieldInt(l);
               assertTrue("Handler is closed", handler1.closed == false);
-              yield(l);
+              yieldInt(l);
               core.close();
               core = null;
-              yield(l);
+              yieldInt(l);
             }
             return r;
           } finally {