From 8b278b14270703de9ec6896c1c03634341a033e0 Mon Sep 17 00:00:00 2001 From: michaeloffner Date: Fri, 6 Dec 2024 11:08:28 +0100 Subject: [PATCH] LDEV-4772 - make more direct calls and set version --- .../java/lucee/runtime/functions/other/CreateObject.java | 8 ++++---- loader/build.xml | 2 +- loader/pom.xml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/src/main/java/lucee/runtime/functions/other/CreateObject.java b/core/src/main/java/lucee/runtime/functions/other/CreateObject.java index 880ae370ac..1c62d5fe23 100755 --- a/core/src/main/java/lucee/runtime/functions/other/CreateObject.java +++ b/core/src/main/java/lucee/runtime/functions/other/CreateObject.java @@ -59,21 +59,21 @@ public Object invoke(PageContext pc, Object[] args) throws PageException { @Deprecated public static Object call(PageContext pc, String type, String className) throws PageException { - return call(pc, type, className, null, null); + return call(pc, type, (Object) className, null, null); } @Deprecated public static Object call(PageContext pc, String type, String className, Object context) throws PageException { - return call(pc, type, className, context, null); + return call(pc, type, (Object) className, context, null); } @Deprecated public static Object call(PageContext pc, String type, String className, Object objClass, Object context) throws PageException { - return call(pc, type, (Object)className, objClass, context); + return call(pc, type, (Object) className, objClass, context); } public static Object call(PageContext pc, String cfcName) throws PageException { - return call(pc, "component", cfcName, null, null); + return call(pc, "component", (Object) cfcName, null, null); } public static Object call(PageContext pc, String type, Object objClass) throws PageException { diff --git a/loader/build.xml b/loader/build.xml index cdcc54b42c..a10ceae3e1 100644 --- a/loader/build.xml +++ b/loader/build.xml @@ -2,7 +2,7 @@ - + diff --git a/loader/pom.xml b/loader/pom.xml index a538a484dc..9e00f48e05 100644 --- a/loader/pom.xml +++ b/loader/pom.xml @@ -3,7 +3,7 @@ org.lucee lucee - 6.1.2.3-SNAPSHOT + 6.1.2.4-SNAPSHOT jar Lucee Loader Build