Skip to content

Commit 8313681

Browse files
committed
formatting
1 parent b096c99 commit 8313681

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

models/javaloader/JavaLoader.cfc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,12 @@
113113
>
114114
<cfargument name="className" hint="The name of the class to create" type="string" required="Yes">
115115
<cfscript>
116-
try {
117-
if( server.keyExists( "boxlang" ) ){
116+
try {
117+
if ( server.keyExists( "boxlang" ) ) {
118118
// Boxlang's Dynamic object class handles all of our needs - we just need to retrieve the class through the module classloader
119-
return createObject( "java", "ortus.boxlang.runtime.interop.DynamicObject" ).init( getURLClassLoader().loadClass( arguments.className ) );
119+
return createObject( "java", "ortus.boxlang.runtime.interop.DynamicObject" ).init(
120+
getURLClassLoader().loadClass( arguments.className )
121+
);
120122
} else {
121123
// do this in one line just for speed.
122124
return createJavaProxy( getURLClassLoader().loadClass( arguments.className ) );

0 commit comments

Comments
 (0)