-
Notifications
You must be signed in to change notification settings - Fork 87
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
Some key impl classes have package private constructors without alternatives or ways to construct them (that I can see). #27
Comments
hsyed
changed the title
Some classes have package private constructors.
Some key impl classes have package private constructors without alternatives or ways to construct them (that I can see).
Jul 25, 2016
This is how I am constructing the TorClient (in OSGi). Note: I have copied the classes over into my own package.
|
Why not just mimic what is done in https://github.com/subgraph/Orchid/blob/develop/src/com/subgraph/orchid/TorClient.java#L183 Here is what I did to create a singleton class to wrap the TorClient:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DirectoryStoreFile
andDirectoryStoreImpl
seem to be perfectly sensible default implementations of the classes. They don't have public constructors (is there some other way to getTorClient
up by constructing these indirectly ?).The text was updated successfully, but these errors were encountered: