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

remove Singleton (anti)pattern for OptionHandlerRegistry usage #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

akryvtsun
Copy link
Contributor

I've changed OptionHandlerRegistry implementation and usage to make it more testable and less coupled with CmdLineParser

@buildhive
Copy link

Kohsuke Kawaguchi » args4j #171 SUCCESS
This pull request looks good
(what's this?)

@kohsuke
Copy link
Owner

kohsuke commented Aug 11, 2015

Thanks, but I'm afraid this is a breaking change that affects the current client applications, which means I cannot take it.

I'm not sure what actual problem you are trying to solve, but perhaps one way to do this is to leave the global singleton as-is but allow separate instantiations.

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