Skip to content

Commit 5c9cdd8

Browse files
committed
Merge remote-tracking branch 'origin/releases/v6.x' into releases/v6.x
2 parents e00edd7 + 6219e7d commit 5c9cdd8

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

system/cache/providers/LuceeProvider.cfc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,15 +288,18 @@ component
288288
struct extra
289289
){
290290
// check if incoming timoeut is a timespan or minute to convert to timespan
291-
if ( !findNoCase( "timespan", arguments.timeout.getClass().getName() )
292-
AND !findNoCase( "duration", arguments.timeout.getClass().getName() ) ) {
291+
if (
292+
!findNoCase( "timespan", arguments.timeout.getClass().getName() )
293+
AND !findNoCase( "duration", arguments.timeout.getClass().getName() )
294+
) {
293295
if ( !isNumeric( arguments.timeout ) ) {
294296
arguments.timeout = 0;
295297
}
296298
arguments.timeout = createTimespan( 0, 0, arguments.timeout, 0 );
297299
}
298300

299-
if ( !findNoCase( "timespan", arguments.lastAccessTimeout.getClass().getName() )
301+
if (
302+
!findNoCase( "timespan", arguments.lastAccessTimeout.getClass().getName() )
300303
AND !findNoCase( "duration", arguments.lastAccessTimeout.getClass().getName() )
301304
) {
302305
if ( !isNumeric( arguments.lastAccessTimeout ) ) {

system/core/util/Util.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ component {
495495
if ( server.keyExists( "boxlang" ) ) {
496496
return ORMGetHibernateVersion();
497497
}
498-
498+
499499
var version = createObject( "java", "org.hibernate.Version" );
500500

501501
if ( version.getVersionString() != "[WORKING]" ) {

tests/specs/core/util/UtilTest.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,4 @@
135135
fail( "Item '#itemName#' doesn't exists." );
136136
}
137137

138-
}
138+
}

0 commit comments

Comments
 (0)