Zomis / Duga

Stack Exchange Chat bot
18 stars 6 forks source link

Deprecated method call in `StackExchangeChatBot` #67

Open Zomis opened 9 years ago

Zomis commented 9 years ago

this.agent.getClient().setRedirectStrategy is a deprecated method call (line 75). Look for alternative.

Vogel612 commented 9 years ago

As I have been already working with mechanize when I tried to migrate JavaBot from HTMLUnit I must unfortunately inform you that (at least according to my research) there is no alternative to this method.

Zomis commented 8 years ago

I think that in newer versions of the HttpClient, there is an alternative method named setRedirectHandler which is not deprecated. The only question is how to make that work in the same way that the current one does.