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

Add overloaded no-arg compile method #1137

Merged
merged 1 commit into from
Dec 22, 2024
Merged

Add overloaded no-arg compile method #1137

merged 1 commit into from
Dec 22, 2024

Conversation

iflan
Copy link
Contributor

@iflan iflan commented Dec 18, 2024

Before #1120, SystemCompleter had a no-arg compile method that just called the StringsCompleter constructor with a Set. The StringsCompleter constructor then just created a Candidate for each string after stripping out any ANSI characters.

This change adds a no-arg compile method does exactly the same thing. This should make it easier for people to upgrade.

Before jline#1120, SystemCompleter had a no-arg compile method that
just called the StringsCompleter constructor with a Set<String>.
The StringsCompleter constructor then just created a Candidate
for each string after stripping out any ANSI characters.

This change adds a no-arg compile method does exactly the same
thing. This should make it easier for people to upgrade.
@gnodet gnodet added this to the 3.28.1 milestone Dec 18, 2024
@gnodet gnodet merged commit 7213863 into jline:master Dec 22, 2024
5 checks passed
@gnodet gnodet added the bug label Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants