Alan Woodward created LUCENE-9338:
-------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]