Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH#12321: Reduce visibility of StringsToAutomaton #12331

Merged
merged 2 commits into from
May 26, 2023

Conversation

gsmiller
Copy link
Contributor

@gsmiller gsmiller commented May 25, 2023

Description

As described in #12321, we can reduce our API surface area by making StringsToAutomaton pkg-private and asking users to go through Automata factory methods.

NOTE: I'm proposing this change goes with 10.0. I would mark StringsToAutomaton as @deprecated on 9.x.

Users should rely on Automata#makeStringUnion instead
@uschindler
Copy link
Contributor

Please add info to the MIGRATE.txt like @mikemccand did in the other PR.

@uschindler
Copy link
Contributor

We should add (in a separate PR) the static method to 9.x, too.

@gsmiller
Copy link
Contributor Author

Created a separate PR for the "backport" of this work here: #12332

Copy link
Member

@mikemccand mikemccand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @gsmiller!

@gsmiller gsmiller merged commit 367b03b into apache:main May 26, 2023
@gsmiller gsmiller deleted the daciuk-mihov-builder-pp branch May 26, 2023 15:55
@gsmiller gsmiller added this to the 10.0.0 milestone May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants