PokeGOAPI-Java icon indicating copy to clipboard operation
PokeGOAPI-Java copied to clipboard

Possibly un-deprecate methods without Time

Open pvanassen opened this issue 10 years ago • 5 comments

Just a suggestion, because the Time interface was added for mocking it is not required. The default implementation is right for most people. Because the old constructors are deprecated it may be lots of people now mimic the deprecated line in their code.

I get why the Time interface was added but maybe the deprecation of the old methods is a bit too much.

pvanassen avatar Jul 28 '16 17:07 pvanassen

Yep, already thought of that on slack, we started to remove them on the dev branch, tell me where we forgot some please

vmarchaud avatar Jul 28 '16 17:07 vmarchaud

Updated by branch, Got the changes now. Good job

pvanassen avatar Jul 28 '16 17:07 pvanassen

Found one, GoogleUserCredentialsProvider has no constructor with just Http client and refresh token. It always requires Time.

pvanassen avatar Jul 28 '16 17:07 pvanassen

@pvanassen Yeah i got the commit in local, will push in few minutes ;)

vmarchaud avatar Jul 28 '16 18:07 vmarchaud

commited ;)

vmarchaud avatar Jul 28 '16 18:07 vmarchaud