Community
Participate
Working Groups
Build ID: I20080903-1200 Methods getProxyDataForHost(String) and getProxyDataForHost(String, String) are error prone. First of all it might be unclear to clients how the methods operate. Also, String class is not the best choice to represent hosts since it does not enforce any constraints on arguments passed. The methods should be deprecated and a new method getProxyDataForHost(URL host) should be introduced. The new method should return proxy settings for a given protocol type.
Created attachment 118476 [details] Patch_v01 Szymon, what do you think about the patch?
Created attachment 118481 [details] Patch_v02
Looks good. Thanks Pawel.
Released to HEAD.