Monthly Archives: December 2007

Avoid useless Plugin Initialization and/or Class Loading

Here’s a tip for initializing your plugins or any other singleton-like repository only when needed. Consider a code like this: if (isConfigurable()) { Bundle bundleCopy = bundle; Preferences[] preferencesCopy = new Preferences[1]; preferencesCopy[0] = new org.eclipse.core.internal. preferences.legacy.PreferenceForwarder( this, bundleCopy.getSymbolicName()); return preferencesCopy; } return null; Do you see what’s wrong there? The problem is that if [...]

Eclipse Top 5 Annoyances

Here is the list of Top 5 Eclipse Annoyances we came up today at the coffee-table, possibly nice to share (in the order of importance). Also serves as a good wish-list to my Santa Claus! 1. Update Manager With the help of p2 provisioning and hard work this will be hopefully solved for 3.5. Please [...]