Bug 491952 - NPE at ProxyManager.tryGetURI from p2.director application
if Manual proxy is configured

ProxyManager should not assume that uri.getHost() returns a non-null
value. Specifically a valid jar: URI will always have a null host.

Also eliminate unused imports so that build passes.

Change-Id: I8ca9446e888b132c5f88f8cdc14eb9133a3a0b48
Signed-off-by: Ed Merks <ed.merks@gmail.com>
1 file changed