taskadapter/redmine-java-api

why constructor of RedmineManager is not public

Closed this issue · 0 comments

I mean, why I'm not supposed to create manually a RedmineManager? what's wrong with it?

I have the same problem as https://github.com/taskadapter/redmine-java-api/pull/340/files/f54dcccf5de4063187b346b93055389b5f3782a3..8610f958fe8310249a65e2b7357581ae9f0be5c5#diff-994682cd18d32a48d452d5cc68ef775b8d9768e2940829c3807dac9eed3813c3 but I can't make my own URIConfigurator because I can't access the constructor of RedmineManager like so:

return new RedmineManager(new Transport(new URIConfigurator(uri, apiKey), RedmineManagerFactory.createDefaultHttpClient(uri)));