[ https://issues.apache.org/jira/browse/LUCENE-9338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17091388#comment-17091388 ]
ASF subversion and git services commented on LUCENE-9338: --------------------------------------------------------- Commit b66b970d1b06e56b0d685613855be5ef6d1a2c60 in lucene-solr's branch refs/heads/branch_8x from Alan Woodward [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=b66b970 ] 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