public static boolean checkAndLogPropertyDeprecated ( HazelcastProperties properties , HazelcastProperty hazelcastProperty ) { if ( properties . containsKey ( hazelcastProperty ) ) { LOGGER . warning ( "Property " + hazelcastProperty . getName ( ) + " is deprecated. Use configuration object/element instead." ) ; return properties . getBoolean ( hazelcastProperty ) ; } return false ; }
Checks if given group property is defined within given Hazelcast properties . Logs a warning when the property is defied .