boncey / Flickr4Java

Java API For Flickr. Fork of FlickrJ
BSD 2-Clause "Simplified" License
174 stars 155 forks source link

Deprecate lookupUser. New method to return a User instead of username #724

Closed don-vip closed 4 months ago

don-vip commented 4 months ago

This allows to find user id from an URL

boncey commented 4 months ago

Thanks for this @don-vip. I think it would be better as a new method so as not to break the interface for existing users.

Could maybe deprecate this method and make new ones called lookupUserByURL and lookupUsernameByURL that return a user and username accordingly.

don-vip commented 4 months ago

Thanks for the feedback! I have updated the PR accordingly.

boncey commented 4 months ago

Thanks again @don-vip. It's merged now. I will do a release in the coming weeks.