mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-16 16:15:06 +00:00
HHH-15189 Print deprecation warning for lock timeout only when a value is passed
This commit is contained in:
parent
25f282eb6e
commit
dc42ec38ed
@ -41,8 +41,8 @@ public static Object getValue(
|
|||||||
|
|
||||||
final Object javaeeValue = valueAccess.apply( javaeeName );
|
final Object javaeeValue = valueAccess.apply( javaeeName );
|
||||||
if ( javaeeValue != null ) {
|
if ( javaeeValue != null ) {
|
||||||
DEPRECATION_LOGGER.deprecatedSetting( javaeeName, specName );
|
|
||||||
if ( valueChecker == null || valueChecker.apply( javaeeValue ) ) {
|
if ( valueChecker == null || valueChecker.apply( javaeeValue ) ) {
|
||||||
|
DEPRECATION_LOGGER.deprecatedSetting( javaeeName, specName );
|
||||||
return javaeeValue;
|
return javaeeValue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user