diff options
author | Thomas Watson | 2012-09-24 19:34:45 +0000 |
---|---|---|
committer | Thomas Watson | 2012-09-24 19:34:45 +0000 |
commit | f6a837990acdb2e52471723c177f0f8bea489650 (patch) | |
tree | 7909035a5f0624e9c18c29fcf855f72491d3f4b2 | |
parent | 56e9cad5a2c1b4bcf66f2951bd6b68790bad4c1c (diff) | |
download | rt.equinox.framework-20120924-193445.tar.gz rt.equinox.framework-20120924-193445.tar.xz rt.equinox.framework-20120924-193445.zip |
Fix compile warnings for org.eclipse.osgiv20120924-193445
2 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/InternalSystemBundle.java b/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/InternalSystemBundle.java index fb352f0de..0cc8b4645 100644 --- a/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/InternalSystemBundle.java +++ b/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/InternalSystemBundle.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2003, 2011 IBM Corporation and others. + * Copyright (c) 2003, 2012 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 @@ -255,7 +255,7 @@ public class InternalSystemBundle extends BundleHost implements org.osgi.framewo framework.checkAdminPermission(this, AdminPermission.EXECUTE); if ((state & (ACTIVE | STARTING)) != 0) { - Thread shutdown = framework.secureAction.createThread(new Runnable() { + Thread shutdown = Framework.secureAction.createThread(new Runnable() { public void run() { try { framework.close(); @@ -309,7 +309,7 @@ public class InternalSystemBundle extends BundleHost implements org.osgi.framewo framework.checkAdminPermission(this, AdminPermission.LIFECYCLE); if ((state & (ACTIVE | STARTING)) != 0) { - Thread restart = framework.secureAction.createThread(new Runnable() { + Thread restart = Framework.secureAction.createThread(new Runnable() { public void run() { int sl = framework.startLevelManager.getStartLevel(); FrameworkProperties.setProperty(Constants.PROP_OSGI_RELAUNCH, ""); //$NON-NLS-1$ diff --git a/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/PackageAdminImpl.java b/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/PackageAdminImpl.java index f9e14605d..b8129566a 100644 --- a/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/PackageAdminImpl.java +++ b/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/PackageAdminImpl.java @@ -169,7 +169,7 @@ public class PackageAdminImpl implements PackageAdmin, FrameworkWiring { if (framework.isForcedRestart()) framework.systemBundle.stop(); } else { - Thread refresh = framework.secureAction.createThread(new Runnable() { + Thread refresh = Framework.secureAction.createThread(new Runnable() { public void run() { doResolveBundles(copy, true, listeners); if (framework.isForcedRestart()) |