[ 
https://issues.apache.org/jira/browse/LUCENE-9338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17091372#comment-17091372
 ] 

ASF subversion and git services commented on LUCENE-9338:
---------------------------------------------------------

Commit ed3caab2d86b69ec4b3ed8e787827c0931b43d1b in lucene-solr's branch 
refs/heads/master from Alan Woodward
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=ed3caab ]

LUCENE-9338: Clean up type safety in SimpleBindings (#1444)

Replaces SimpleBindings' Map<String, Object> with a map of
Function<Bindings, DoubleValuesSource> to improve type safety, and
reworks cycle detection and validation to avoid catching 
StackOverflowException

> Clean up type safety in SimpleBindings
> --------------------------------------
>
>                 Key: LUCENE-9338
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9338
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> SimpleBindings holds its bindings as a Map<String, Object>, and then casts 
> things when it builds its value sources.  We can instead store a map of 
> Supplier<DoubleValuesSource> and avoid casts entirely.



--
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

Reply via email to