[jira] [Commented] (SOLR-14579) Comment SolrJ 'Utils' generic map functions

2020-09-05 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-14579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17191081#comment-17191081
 ] 

ASF subversion and git services commented on SOLR-14579:


Commit f71ba62d4ae3100ffe54bdf5df8254e2bbf6ec9d in lucene-solr's branch 
refs/heads/master from Erick Erickson
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=f71ba62 ]

SOLR-14579: Comment SolrJ 'Utils' generic map functions


> Comment SolrJ 'Utils' generic map functions
> ---
>
> Key: SOLR-14579
> URL: https://issues.apache.org/jira/browse/SOLR-14579
> Project: Solr
>  Issue Type: Improvement
>Affects Versions: master (9.0)
>Reporter: Megan Carey
>Assignee: Erick Erickson
>Priority: Minor
> Fix For: 8.7
>
> Attachments: SOLR-14579.patch
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> Remove the map functions like `NEW_HASHMAP_FUN` from the Utils class in solrj 
> module to reduce warnings and improve code quality.
> [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Utils.java#L92]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-14579) Comment SolrJ 'Utils' generic map functions

2020-09-05 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-14579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17191082#comment-17191082
 ] 

ASF subversion and git services commented on SOLR-14579:


Commit 3d411abbdccbe423e1573b1b1a08173e5f6d4690 in lucene-solr's branch 
refs/heads/branch_8x from Erick Erickson
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=3d411ab ]

SOLR-14579: Comment SolrJ 'Utils' generic map functions


> Comment SolrJ 'Utils' generic map functions
> ---
>
> Key: SOLR-14579
> URL: https://issues.apache.org/jira/browse/SOLR-14579
> Project: Solr
>  Issue Type: Improvement
>Affects Versions: master (9.0)
>Reporter: Megan Carey
>Assignee: Erick Erickson
>Priority: Minor
> Fix For: 8.7
>
> Attachments: SOLR-14579.patch
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> Remove the map functions like `NEW_HASHMAP_FUN` from the Utils class in solrj 
> module to reduce warnings and improve code quality.
> [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Utils.java#L92]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-14579) Comment SolrJ 'Utils' generic map functions

2020-09-04 Thread Uwe Schindler (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-14579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17190872#comment-17190872
 ] 

Uwe Schindler commented on SOLR-14579:
--

bq. I have no recollection of doing so, certainly not intentionally.

Sorry my fault: This JIRA comment confused me, as it was comming directly after 
the master and 8.x commits. But this is a different branch, why was it added 
back there?:

[https://issues.apache.org/jira/browse/SOLR-14579?focusedCommentId=1712=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1712]

> Comment SolrJ 'Utils' generic map functions
> ---
>
> Key: SOLR-14579
> URL: https://issues.apache.org/jira/browse/SOLR-14579
> Project: Solr
>  Issue Type: Improvement
>Affects Versions: master (9.0)
>Reporter: Megan Carey
>Assignee: Erick Erickson
>Priority: Minor
> Fix For: 8.7
>
> Attachments: SOLR-14579.patch
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> Remove the map functions like `NEW_HASHMAP_FUN` from the Utils class in solrj 
> module to reduce warnings and improve code quality.
> [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Utils.java#L92]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-14579) Comment SolrJ 'Utils' generic map functions

2020-09-03 Thread Erick Erickson (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-14579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17190401#comment-17190401
 ] 

Erick Erickson commented on SOLR-14579:
---

[~uschindler]

bq. why did you re-apply the 8.x comments? They are as wrong as in master.

I have no recollection of doing so, certainly not intentionally. A fresh pull 
of 8x about 60 seconds ago shows no comments in 8x, and the git history shows 
no re-revert, un-revert or any other indication of this, at least on my 
machine. So I don't know what you're talking about. As far as I can tell you're 
hallucinating ;).



> Comment SolrJ 'Utils' generic map functions
> ---
>
> Key: SOLR-14579
> URL: https://issues.apache.org/jira/browse/SOLR-14579
> Project: Solr
>  Issue Type: Improvement
>Affects Versions: master (9.0)
>Reporter: Megan Carey
>Assignee: Erick Erickson
>Priority: Minor
> Fix For: 8.7
>
> Attachments: SOLR-14579.patch
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> Remove the map functions like `NEW_HASHMAP_FUN` from the Utils class in solrj 
> module to reduce warnings and improve code quality.
> [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Utils.java#L92]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-14579) Comment SolrJ 'Utils' generic map functions

2020-09-02 Thread Uwe Schindler (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-14579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17189094#comment-17189094
 ] 

Uwe Schindler commented on SOLR-14579:
--

Here is the similar code in Java 8: [InnerClassLambdaMetafactory line 
215|http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/src/share/classes/java/lang/invoke/InnerClassLambdaMetafactory.java#l215]

It's returning a static singleton, because no arguments are captured (which is 
waht we talk about here), the code below is the captured lambda which has the 
overhead (see the presentation by [~ichattopadhyaya] mentioned in Slack: 
[https://www.oracle.com/technetwork/java/jvmls2013kuksen-2014088.pdf]).

> Comment SolrJ 'Utils' generic map functions
> ---
>
> Key: SOLR-14579
> URL: https://issues.apache.org/jira/browse/SOLR-14579
> Project: Solr
>  Issue Type: Improvement
>Affects Versions: master (9.0)
>Reporter: Megan Carey
>Assignee: Erick Erickson
>Priority: Minor
> Fix For: 8.7
>
> Attachments: SOLR-14579.patch
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> Remove the map functions like `NEW_HASHMAP_FUN` from the Utils class in solrj 
> module to reduce warnings and improve code quality.
> [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Utils.java#L92]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-14579) Comment SolrJ 'Utils' generic map functions

2020-09-02 Thread Uwe Schindler (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-14579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17189086#comment-17189086
 ] 

Uwe Schindler commented on SOLR-14579:
--

If you are interested, here is the implementation of a Bootstrap for lambdas in 
Elasticsearch's Painless (written by me), especially see the comment: 
[LambdaBootstrap lines 
126-133|https://github.com/elastic/elasticsearch/blob/0a135a358e4736ee54d76bad0932cab1b5cc1a74/modules/lang-painless/src/main/java/org/elasticsearch/painless/LambdaBootstrap.java#L126-L133]

If no captures are there: it's a singleton and the bootstrap code returns a 
method handle that: [LambdaBootstrap lines 
481-491|https://github.com/elastic/elasticsearch/blob/0a135a358e4736ee54d76bad0932cab1b5cc1a74/modules/lang-painless/src/main/java/org/elasticsearch/painless/LambdaBootstrap.java#L481-L491];
 you see it returns a {{ConstantCallSite}} always returning the same singleton 
created there with {{newInstance}}.

You can check similar code in LambdaBootstraps code in the JDK, but those are 
doing a bit more magic, as Java is type-safe, while Elasticsearch Painless has 
more freedom of types (e.g. def type), so this is easier to read.

> Comment SolrJ 'Utils' generic map functions
> ---
>
> Key: SOLR-14579
> URL: https://issues.apache.org/jira/browse/SOLR-14579
> Project: Solr
>  Issue Type: Improvement
>Affects Versions: master (9.0)
>Reporter: Megan Carey
>Assignee: Erick Erickson
>Priority: Minor
> Fix For: 8.7
>
> Attachments: SOLR-14579.patch
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> Remove the map functions like `NEW_HASHMAP_FUN` from the Utils class in solrj 
> module to reduce warnings and improve code quality.
> [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Utils.java#L92]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-14579) Comment SolrJ 'Utils' generic map functions

2020-09-02 Thread Uwe Schindler (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-14579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17189078#comment-17189078
 ] 

Uwe Schindler commented on SOLR-14579:
--

Here is the Javadoc of Java 8: 
https://docs.oracle.com/javase/8/docs/api/java/lang/invoke/LambdaMetafactory.html

Read sentences about "capture".

> Comment SolrJ 'Utils' generic map functions
> ---
>
> Key: SOLR-14579
> URL: https://issues.apache.org/jira/browse/SOLR-14579
> Project: Solr
>  Issue Type: Improvement
>Affects Versions: master (9.0)
>Reporter: Megan Carey
>Assignee: Erick Erickson
>Priority: Minor
> Fix For: 8.7
>
> Attachments: SOLR-14579.patch
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> Remove the map functions like `NEW_HASHMAP_FUN` from the Utils class in solrj 
> module to reduce warnings and improve code quality.
> [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Utils.java#L92]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-14579) Comment SolrJ 'Utils' generic map functions

2020-09-02 Thread Uwe Schindler (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-14579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17189075#comment-17189075
 ] 

Uwe Schindler commented on SOLR-14579:
--

Hi Erick,
why did you re-apply the 8.x comments? They are as wrong as in master.

If you read my explanation: Those are non-capturing lambdas so they dont 
prodcute instances. This is explained in Brian Goetz's technical document (from 
April 2012), and applies even to earliest Java 8 versions.

The PR removing the static funtions in Java is correct in any Java version 
(8,11).

> Comment SolrJ 'Utils' generic map functions
> ---
>
> Key: SOLR-14579
> URL: https://issues.apache.org/jira/browse/SOLR-14579
> Project: Solr
>  Issue Type: Improvement
>Affects Versions: master (9.0)
>Reporter: Megan Carey
>Assignee: Erick Erickson
>Priority: Minor
> Fix For: 8.7
>
> Attachments: SOLR-14579.patch
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> Remove the map functions like `NEW_HASHMAP_FUN` from the Utils class in solrj 
> module to reduce warnings and improve code quality.
> [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Utils.java#L92]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-14579) Comment SolrJ 'Utils' generic map functions

2020-09-01 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-14579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1712#comment-1712
 ] 

ASF subversion and git services commented on SOLR-14579:


Commit b421878b77b7b9c6daae838a8bd2057f599ecc1f in lucene-solr's branch 
refs/heads/jira/SOLR-14383 from Erick Erickson
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=b421878 ]

SOLR-14579: Comment SolrJ 'Utils' generic map functions


> Comment SolrJ 'Utils' generic map functions
> ---
>
> Key: SOLR-14579
> URL: https://issues.apache.org/jira/browse/SOLR-14579
> Project: Solr
>  Issue Type: Improvement
>Affects Versions: master (9.0)
>Reporter: Megan Carey
>Assignee: Erick Erickson
>Priority: Minor
> Fix For: 8.7
>
> Attachments: SOLR-14579.patch
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> Remove the map functions like `NEW_HASHMAP_FUN` from the Utils class in solrj 
> module to reduce warnings and improve code quality.
> [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Utils.java#L92]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-14579) Comment SolrJ 'Utils' generic map functions

2020-09-01 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-14579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17188850#comment-17188850
 ] 

ASF subversion and git services commented on SOLR-14579:


Commit 594d676a951a75038e1ebc5ed867a242b48c3149 in lucene-solr's branch 
refs/heads/master from Erick Erickson
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=594d676 ]

SOLR-14579: reverting incorrect comments


> Comment SolrJ 'Utils' generic map functions
> ---
>
> Key: SOLR-14579
> URL: https://issues.apache.org/jira/browse/SOLR-14579
> Project: Solr
>  Issue Type: Improvement
>Affects Versions: master (9.0)
>Reporter: Megan Carey
>Assignee: Erick Erickson
>Priority: Minor
> Fix For: 8.7
>
> Attachments: SOLR-14579.patch
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> Remove the map functions like `NEW_HASHMAP_FUN` from the Utils class in solrj 
> module to reduce warnings and improve code quality.
> [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Utils.java#L92]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-14579) Comment SolrJ 'Utils' generic map functions

2020-09-01 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-14579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17188852#comment-17188852
 ] 

ASF subversion and git services commented on SOLR-14579:


Commit a1072488921ddd407577be8347be431af6832797 in lucene-solr's branch 
refs/heads/branch_8x from Erick Erickson
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=a107248 ]

SOLR-14579: reverting incorrect comments

(cherry picked from commit 594d676a951a75038e1ebc5ed867a242b48c3149)


> Comment SolrJ 'Utils' generic map functions
> ---
>
> Key: SOLR-14579
> URL: https://issues.apache.org/jira/browse/SOLR-14579
> Project: Solr
>  Issue Type: Improvement
>Affects Versions: master (9.0)
>Reporter: Megan Carey
>Assignee: Erick Erickson
>Priority: Minor
> Fix For: 8.7
>
> Attachments: SOLR-14579.patch
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> Remove the map functions like `NEW_HASHMAP_FUN` from the Utils class in solrj 
> module to reduce warnings and improve code quality.
> [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Utils.java#L92]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-14579) Comment SolrJ 'Utils' generic map functions

2020-09-01 Thread David Smiley (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-14579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17188788#comment-17188788
 ] 

David Smiley commented on SOLR-14579:
-

Thanks Uwe for this teaching moment!  Yes, let's remove the needless Function 
declarations in Utils.

> Comment SolrJ 'Utils' generic map functions
> ---
>
> Key: SOLR-14579
> URL: https://issues.apache.org/jira/browse/SOLR-14579
> Project: Solr
>  Issue Type: Improvement
>Affects Versions: master (9.0)
>Reporter: Megan Carey
>Assignee: Erick Erickson
>Priority: Minor
> Fix For: 8.7
>
> Attachments: SOLR-14579.patch
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> Remove the map functions like `NEW_HASHMAP_FUN` from the Utils class in solrj 
> module to reduce warnings and improve code quality.
> [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Utils.java#L92]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-14579) Comment SolrJ 'Utils' generic map functions

2020-09-01 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-14579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17188619#comment-17188619
 ] 

ASF subversion and git services commented on SOLR-14579:


Commit b421878b77b7b9c6daae838a8bd2057f599ecc1f in lucene-solr's branch 
refs/heads/LUCENE-9215 from Erick Erickson
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=b421878 ]

SOLR-14579: Comment SolrJ 'Utils' generic map functions


> Comment SolrJ 'Utils' generic map functions
> ---
>
> Key: SOLR-14579
> URL: https://issues.apache.org/jira/browse/SOLR-14579
> Project: Solr
>  Issue Type: Improvement
>Affects Versions: master (9.0)
>Reporter: Megan Carey
>Assignee: Erick Erickson
>Priority: Minor
> Fix For: 8.7
>
> Attachments: SOLR-14579.patch
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> Remove the map functions like `NEW_HASHMAP_FUN` from the Utils class in solrj 
> module to reduce warnings and improve code quality.
> [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Utils.java#L92]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-14579) Comment SolrJ 'Utils' generic map functions

2020-09-01 Thread Uwe Schindler (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-14579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17188587#comment-17188587
 ] 

Uwe Schindler commented on SOLR-14579:
--

Please revert the plain incorrect comments in Utils.java.

> Comment SolrJ 'Utils' generic map functions
> ---
>
> Key: SOLR-14579
> URL: https://issues.apache.org/jira/browse/SOLR-14579
> Project: Solr
>  Issue Type: Improvement
>Affects Versions: master (9.0)
>Reporter: Megan Carey
>Assignee: Erick Erickson
>Priority: Minor
> Fix For: 8.7
>
> Attachments: SOLR-14579.patch
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Remove the map functions like `NEW_HASHMAP_FUN` from the Utils class in solrj 
> module to reduce warnings and improve code quality.
> [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Utils.java#L92]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-14579) Comment SolrJ 'Utils' generic map functions

2020-09-01 Thread Uwe Schindler (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-14579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17188585#comment-17188585
 ] 

Uwe Schindler commented on SOLR-14579:
--

Here is the info how lambdas are generated: 
https://cr.openjdk.java.net/~briangoetz/lambda/lambda-translation.html

> Comment SolrJ 'Utils' generic map functions
> ---
>
> Key: SOLR-14579
> URL: https://issues.apache.org/jira/browse/SOLR-14579
> Project: Solr
>  Issue Type: Improvement
>Affects Versions: master (9.0)
>Reporter: Megan Carey
>Assignee: Erick Erickson
>Priority: Minor
> Fix For: 8.7
>
> Attachments: SOLR-14579.patch
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Remove the map functions like `NEW_HASHMAP_FUN` from the Utils class in solrj 
> module to reduce warnings and improve code quality.
> [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Utils.java#L92]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-14579) Comment SolrJ 'Utils' generic map functions

2020-09-01 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-14579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17188480#comment-17188480
 ] 

ASF subversion and git services commented on SOLR-14579:


Commit b421878b77b7b9c6daae838a8bd2057f599ecc1f in lucene-solr's branch 
refs/heads/master from Erick Erickson
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=b421878 ]

SOLR-14579: Comment SolrJ 'Utils' generic map functions


> Comment SolrJ 'Utils' generic map functions
> ---
>
> Key: SOLR-14579
> URL: https://issues.apache.org/jira/browse/SOLR-14579
> Project: Solr
>  Issue Type: Improvement
>Affects Versions: master (9.0)
>Reporter: Megan Carey
>Assignee: Erick Erickson
>Priority: Minor
> Fix For: master (9.0)
>
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Remove the map functions like `NEW_HASHMAP_FUN` from the Utils class in solrj 
> module to reduce warnings and improve code quality.
> [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Utils.java#L92]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-14579) Comment SolrJ 'Utils' generic map functions

2020-09-01 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-14579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17188490#comment-17188490
 ] 

ASF subversion and git services commented on SOLR-14579:


Commit 07b289aafd6f071924d2c0936b3ae04deea799c9 in lucene-solr's branch 
refs/heads/branch_8x from Erick Erickson
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=07b289a ]

SOLR-14579: Comment SolrJ 'Utils' generic map functions

(cherry picked from commit b421878b77b7b9c6daae838a8bd2057f599ecc1f)


> Comment SolrJ 'Utils' generic map functions
> ---
>
> Key: SOLR-14579
> URL: https://issues.apache.org/jira/browse/SOLR-14579
> Project: Solr
>  Issue Type: Improvement
>Affects Versions: master (9.0)
>Reporter: Megan Carey
>Assignee: Erick Erickson
>Priority: Minor
> Fix For: master (9.0)
>
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Remove the map functions like `NEW_HASHMAP_FUN` from the Utils class in solrj 
> module to reduce warnings and improve code quality.
> [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Utils.java#L92]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org