From 81de59e8f353493bdf054a16e02565a73f99fca6 Mon Sep 17 00:00:00 2001 From: michaeloffner Date: Fri, 8 Dec 2023 22:37:09 +0100 Subject: [PATCH] clean up --- .../src/main/java/lucee/runtime/engine/CFMLEngineImpl.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/core/src/main/java/lucee/runtime/engine/CFMLEngineImpl.java b/core/src/main/java/lucee/runtime/engine/CFMLEngineImpl.java index 6996cbaf23..9cad9abba4 100644 --- a/core/src/main/java/lucee/runtime/engine/CFMLEngineImpl.java +++ b/core/src/main/java/lucee/runtime/engine/CFMLEngineImpl.java @@ -922,17 +922,14 @@ public void setConfigServerImpl(ConfigServerImpl cs) { private ConfigServerImpl getConfigServerImpl(ConfigServerImpl existing, boolean essentialOnly, boolean allowGrapingThreadConfig) { if (configServer == null) { - print.e("--->>> getConfigServerImpl"); // if in process to be build, this may only exists with the thread yet if (allowGrapingThreadConfig) { Config config = ThreadLocalPageContext.getConfig(); if (config instanceof ConfigServerImpl) { - print.ds("--->>> config server"); - // return (ConfigServerImpl) config; + return (ConfigServerImpl) config; } if (config instanceof ConfigWebImpl) { - print.ds("--->>> config web"); - // return ((ConfigWebImpl) config).getConfigServerImpl(); + return ((ConfigWebImpl) config).getConfigServerImpl(); } } try {