diff --git a/models/BaseProxy.cfc b/models/BaseProxy.cfc index 14c7e4e..b7b4a33 100644 --- a/models/BaseProxy.cfc +++ b/models/BaseProxy.cfc @@ -56,7 +56,7 @@ component accessors="true" { if ( variables.isLucee ) { variables.cfContext = getCFMLContext().getApplicationContext(); variables.pageContext = getCFMLContext(); - } else if( variables.isAdobe ) { + } else if ( variables.isAdobe ) { variables.DataSrcImplStatic = createObject( "java", "coldfusion.sql.DataSrcImpl" ); variables.fusionContextStatic = createObject( "java", "coldfusion.filter.FusionContext" ); variables.originalFusionContext = fusionContextStatic.getCurrent().clone(); @@ -108,7 +108,7 @@ component accessors="true" { // Lucee vs Adobe Implementations if ( variables.isLucee ) { getCFMLContext().setApplicationContext( variables.cfContext ); - } else if( variables.isAdobe ) { + } else if ( variables.isAdobe ) { // Set the current thread's class loader from the CF space to avoid // No class defined issues in thread land. getCurrentThread().setContextClassLoader( @@ -167,7 +167,7 @@ component accessors="true" { try { // Lucee vs Adobe Implementations - if( variables.isAdobe ) { + if ( variables.isAdobe ) { // Ensure any DB connections used get returned to the connection pool. Without clearSqlProxy an executor will hold onto any connections it touched while running and they will not timeout/close, and no other code can use the connection except for the executor that last touched it. Credit to Brad Wood for finding this! variables.DataSrcImplStatic.clearSqlProxy(); variables.fusionContextStatic.setCurrent( javacast( "null", "" ) ); @@ -201,7 +201,7 @@ component accessors="true" { * Amend this check once Adobe fixes this in a later update */ function getConcurrentEngineLockName(){ - if( variables.isAdobe ){ + if ( variables.isAdobe ) { return variables.UUID; } else { return createUUID();