Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 359580
Collapse All | Expand All

(-)Eclipse UI/org/eclipse/ui/internal/WorkbenchPlugin.java (-1 / +2 lines)
Lines 1450-1459 Link Here
1450
	}
1450
	}
1451
1451
1452
	private void bundleChanged(BundleEvent event) {
1452
	private void bundleChanged(BundleEvent event) {
1453
	    int eventType = event.getType();
1453
		// a bundle in the STARTING state generates 2 events, LAZY_ACTIVATION
1454
		// a bundle in the STARTING state generates 2 events, LAZY_ACTIVATION
1454
		// when it enters STARTING and STARTING when it exists STARTING :-)
1455
		// when it enters STARTING and STARTING when it exists STARTING :-)
1455
		synchronized (startingBundles) {
1456
		synchronized (startingBundles) {
1456
			switch (event.getType()) {
1457
			switch (eventType) {
1457
				case BundleEvent.STARTING :
1458
				case BundleEvent.STARTING :
1458
					startingBundles.add(event.getBundle());
1459
					startingBundles.add(event.getBundle());
1459
					break;
1460
					break;

Return to bug 359580