Skip to content

Commit 1f475e1

Browse files
committed
adapt to Subcontext rename in knip-scijava.
1 parent 5f220e9 commit 1f475e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

org.knime.scijava.scripting.base/src/org/knime/scijava/scripting/base/ScriptingGateway.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import org.knime.scijava.commands.mapping.ColumnModuleItemMappingService;
1515
import org.knime.scijava.commands.settings.NodeSettingsService;
1616
import org.knime.scijava.commands.widget.KNIMEWidgetService;
17-
import org.knime.scijava.core.DelegateableContext;
17+
import org.knime.scijava.core.SubContext;
1818
import org.knime.scijava.core.ResourceAwareClassLoader;
1919
import org.knime.scijava.core.pluginindex.ReusablePluginIndex;
2020
import org.knime.scijava.scripting.parameters.ParameterCodeGeneratorService;
@@ -111,7 +111,7 @@ public static synchronized ScriptingGateway get() {
111111
* @return the created context
112112
*/
113113
public Context createContext() {
114-
final Context context = new DelegateableContext(getGlobalContext(),
114+
final Context context = new SubContext(getGlobalContext(),
115115
requiredServices, m_pluginIndex);
116116

117117
/* Make sure custom plugins have been added */

0 commit comments

Comments
 (0)