[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Performance of URL in ImageDescriptor

This is not specific to Eclipse platform. It's a general Java anti-pattern to use URL class for adresses if you aren't sure you'll use it for a connection.
"Linters" like SpotBugs or SonarLint help by reminding this rule whenever there is a questionable usage of URL.

On Wednesday, June 6, 2018, Ned Twigg <ned.twigg@xxxxxxxxxxxx> wrote:
Hello platform-ui! Apologies if this is an abuse of the mailing list, the archive search is down, and I wasn't able to find information on this anywhere else.

I have a distinct memory of an EclipseCon talk about avoiding either URL or URI, because it triggered network requests and was slow. I can't find it, or any reference to it. Does anyone else remember this, or have any hints for how to find it?

Thanks!

Ned Twigg
Lead Software Architect,ÂDiffPlug LLC
540-336-8043 (cell)
888-513-6870 (fax)
340 S Lemon Ave #343
3,ÂWalnut, CA 91789
á


--
Mickael Istria
Eclipse IDE developer, for Red Hat Developers