Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9338

Clean up type safety in SimpleBindings

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.6
    • None
    • None
    • New

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              romseygeek Alan Woodward
              romseygeek Alan Woodward
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m