private void updateWithDefaultExecutor()

in src/main/java/com/epam/gmp/service/ScriptContextBuilder.java [127:132]


    private void updateWithDefaultExecutor(ConfigObject scriptConfig, ConfigLayer layer) {
        @SuppressWarnings("unchecked")
        Map<String, Object> executorConfig = (Map<String, Object>) scriptConfig.computeIfAbsent(EXECUTOR_FIELD, (key -> new HashMap<String, Object>()));
        executorConfig.putIfAbsent(SCRIPT_TO_RUN, layer.getScriptToRun());
        executorConfig.put(SCRIPT_CONFIG, layer.getScriptConfig());
    }