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

Expose Automaton getter on RunAutomaton

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • core/FSTs
    • None
    • New

    Description

      RunAutomaton is (of course) built from an Automaton and it stores it on a field, package-private. It would be convenient to expose it via a getter. In fact CompiledAutomaton wants it.

      While we're at it, lets mark all the fields private and ensure that the only classes using its state (currently its 2 subclasses) use the getters that already exist for what they need. Those getters are already final so I don't expect a performance impact.

      Attachments

        1. LUCENE_7208.patch
          5 kB
          David Smiley

        Activity

          People

            dsmiley David Smiley
            dsmiley David Smiley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: