You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2016/04/13 16:29:25 UTC

[jira] [Reopened] (LUCENE-7208) Expose Automaton getter on RunAutomaton

     [ https://issues.apache.org/jira/browse/LUCENE-7208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Smiley reopened LUCENE-7208:
----------------------------------

> Expose Automaton getter on RunAutomaton
> ---------------------------------------
>
>                 Key: LUCENE-7208
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7208
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/FSTs
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Minor
>         Attachments: LUCENE_7208.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org