Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2009-01-15 14:28:01 +0000
committerThomas Watson2009-01-15 14:28:01 +0000
commitaf352f684c0ab08445d8716901aa182b7a6e888a (patch)
tree62990d2b7cf86939e962ece81e977465403c6370 /bundles/org.eclipse.equinox.device
parent40da7d353d98b250ec1652eccaa4cb5a1bfe1bda (diff)
downloadrt.equinox.bundles-af352f684c0ab08445d8716901aa182b7a6e888a.tar.gz
rt.equinox.bundles-af352f684c0ab08445d8716901aa182b7a6e888a.tar.xz
rt.equinox.bundles-af352f684c0ab08445d8716901aa182b7a6e888a.zip
Bug 261197 [device] fix dead code warnings in build
Diffstat (limited to 'bundles/org.eclipse.equinox.device')
-rw-r--r--bundles/org.eclipse.equinox.device/src/org/eclipse/equinox/device/Activator.java29
1 files changed, 15 insertions, 14 deletions
diff --git a/bundles/org.eclipse.equinox.device/src/org/eclipse/equinox/device/Activator.java b/bundles/org.eclipse.equinox.device/src/org/eclipse/equinox/device/Activator.java
index ae1b4113c..4b45a0034 100644
--- a/bundles/org.eclipse.equinox.device/src/org/eclipse/equinox/device/Activator.java
+++ b/bundles/org.eclipse.equinox.device/src/org/eclipse/equinox/device/Activator.java
@@ -384,29 +384,30 @@ public class Activator implements BundleActivator, ServiceTrackerCustomizer, Fra
*/
private synchronized DeviceTracker dequeue() throws InterruptedException {
while (running && (head == null)) {
+ // TODO need to determine if this code is needed (bug 261197)
/* This should be included per Section 8.7.7 of the OSGi SP R2
* spec, but it causes the OSGi SP R2 Test Suite to fail.
* We should turn this on for R3.
if (driverServiceRegistered)
*/
- if (false) {
- driverServiceRegistered = false;
+ // if (false) {
+ // driverServiceRegistered = false;
+ //
+ // refineIdleDevices();
+ // } else {
+ locators.uninstallDriverBundles();
- refineIdleDevices();
- } else {
- locators.uninstallDriverBundles();
-
- try {
- if (Activator.DEBUG) {
- log.log(LogService.LOG_DEBUG, "DeviceManager waiting on queue"); //$NON-NLS-1$
- }
-
- wait();
- } catch (InterruptedException e) {
- // do nothing
+ try {
+ if (Activator.DEBUG) {
+ log.log(LogService.LOG_DEBUG, "DeviceManager waiting on queue"); //$NON-NLS-1$
}
+
+ wait();
+ } catch (InterruptedException e) {
+ // do nothing
}
+ // }
}
if (!running) /* if we are stopping */

Back to the top