diff options
author | Thomas Watson | 2013-08-21 20:58:47 +0000 |
---|---|---|
committer | Thomas Watson | 2013-08-21 20:58:47 +0000 |
commit | 80dd194b65bc072b184676b7f877e9d2554ef3e4 (patch) | |
tree | 163a90ad1f56eaf8ec7302dadf5850e1941f85ae | |
parent | ef994cb6650b3a37078675a81386b288cafdbd58 (diff) | |
download | rt.equinox.framework-80dd194b65bc072b184676b7f877e9d2554ef3e4.tar.gz rt.equinox.framework-80dd194b65bc072b184676b7f877e9d2554ef3e4.tar.xz rt.equinox.framework-80dd194b65bc072b184676b7f877e9d2554ef3e4.zip |
Bug 415464 - 13 compile warnings in official build
2 files changed, 5 insertions, 6 deletions
diff --git a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/module/ResolverImpl.java b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/module/ResolverImpl.java index 551abb015..28188353f 100644 --- a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/module/ResolverImpl.java +++ b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/module/ResolverImpl.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004, 2012 IBM Corporation and others. All rights reserved. + * Copyright (c) 2004, 2013 IBM Corporation and others. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html @@ -16,7 +16,6 @@ import java.util.*; import org.eclipse.osgi.framework.util.ArrayMap; import org.eclipse.osgi.framework.util.SecureAction; import org.eclipse.osgi.internal.debug.Debug; -import org.eclipse.osgi.internal.debug.FrameworkDebugOptions; import org.eclipse.osgi.internal.framework.EquinoxContainer; import org.eclipse.osgi.internal.framework.FilterImpl; import org.eclipse.osgi.internal.module.GroupingChecker.PackageRoots; @@ -2152,6 +2151,8 @@ public class ResolverImpl implements Resolver { } private void setDebugOptions() { + //TODO do not have access to debug options here + /* FrameworkDebugOptions options = null; //FrameworkDebugOptions.getDefault(); // may be null if debugging is not enabled if (options == null) @@ -2163,6 +2164,7 @@ public class ResolverImpl implements Resolver { DEBUG_GENERICS = options.getBooleanOption(OPTION_GENERICS, false); DEBUG_USES = options.getBooleanOption(OPTION_USES, false); DEBUG_CYCLES = options.getBooleanOption(OPTION_CYCLES, false); + */ } // LOGGING METHODS diff --git a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/StateImpl.java b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/StateImpl.java index de703fa83..a3368c274 100644 --- a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/StateImpl.java +++ b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/StateImpl.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2003, 2012 IBM Corporation and others. + * Copyright (c) 2003, 2013 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -133,8 +133,6 @@ public abstract class StateImpl implements State { private ResolverHook hook; private boolean developmentMode = false; - private static long cumulativeTime; - final Object monitor = new Object(); // to prevent extra-package instantiation @@ -493,7 +491,6 @@ public abstract class StateImpl implements State { throw new IllegalStateException("An attempt to start a nested resolve process has been detected."); //$NON-NLS-1$ try { resolving = true; - long start = 0; if (!incremental) { resolved = false; reResolve = getBundles(); |