Fix NonstandardProteinCompoundTest failure by sbliven · Pull Request #780 · biojava/biojava
Uniprot now redirects to https. This fixes the URL, as well as adds code to do the redirect.
I couldn't find any existing code to follow redirects, but it would be useful to apply this to all downloads. The redirect code is a private static function in 4.2. In the 5.0 branch it would make sense to make it a utility method (e.g core/utils/FileDownloadUtils) and apply it everywhere we open HttpUrlConnections.