diff options
author | Thomas Watson | 2019-04-29 20:06:22 +0000 |
---|---|---|
committer | Thomas Watson | 2019-04-29 20:06:22 +0000 |
commit | e3a00565b51fbbe40209599873fbc2afe5e16923 (patch) | |
tree | 6e342ad032bd232adb4355bea9c0caefef392417 | |
parent | fe80750fdf01f8e906c38e3feac1a6a6db93e742 (diff) | |
download | rt.equinox.framework-e3a00565b51fbbe40209599873fbc2afe5e16923.tar.gz rt.equinox.framework-e3a00565b51fbbe40209599873fbc2afe5e16923.tar.xz rt.equinox.framework-e3a00565b51fbbe40209599873fbc2afe5e16923.zip |
Code cleanup - get rid of unused method param configI20190505-1800I20190504-1800I20190503-1800I20190502-1800I20190501-1800I20190501-0525I20190430-1800I20190429-1800
Change-Id: I0dac3067720a64cc9e889b55e17211271c5b8fec
Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
-rw-r--r-- | bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxContainerAdaptor.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxContainerAdaptor.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxContainerAdaptor.java index cd589286c..7eb0eb31f 100644 --- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxContainerAdaptor.java +++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxContainerAdaptor.java @@ -114,7 +114,7 @@ public class EquinoxContainerAdaptor extends ModuleContainerAdaptor { if ((resolverThreadCnt < 1 && startLevelThreadCnt < 1) || resolverThreadCnt == startLevelThreadCnt) { // use a single executor this.resolverExecutor = new AtomicLazyInitializer<>(); - this.lazyResolverExecutorCreator = createLazyExecutorCreator(container.getConfiguration(), // + this.lazyResolverExecutorCreator = createLazyExecutorCreator( // "Equinox executor thread - " + EquinoxContainerAdaptor.this.toString(), //$NON-NLS-1$ resolverThreadCnt); this.startLevelExecutor = resolverExecutor; @@ -122,18 +122,18 @@ public class EquinoxContainerAdaptor extends ModuleContainerAdaptor { } else { // use two different executors this.resolverExecutor = new AtomicLazyInitializer<>(); - this.lazyResolverExecutorCreator = createLazyExecutorCreator(container.getConfiguration(), // + this.lazyResolverExecutorCreator = createLazyExecutorCreator( // "Equinox resolver thread - " + EquinoxContainerAdaptor.this.toString(), //$NON-NLS-1$ resolverThreadCnt); this.startLevelExecutor = new AtomicLazyInitializer<>(); - this.lazyStartLevelExecutorCreator = createLazyExecutorCreator(container.getConfiguration(), // + this.lazyStartLevelExecutorCreator = createLazyExecutorCreator(// "Equinox start level thread - " + EquinoxContainerAdaptor.this.toString(), //$NON-NLS-1$ startLevelThreadCnt); } } - private Callable<Executor> createLazyExecutorCreator(EquinoxConfiguration config, final String threadName, int threadCnt) { + private Callable<Executor> createLazyExecutorCreator(final String threadName, int threadCnt) { // use the number of processors when configured value is <=0 final int maxThreads = threadCnt <= 0 ? Runtime.getRuntime().availableProcessors() : threadCnt; return new Callable<Executor>() { |