Buggy code:
public class InfinispanDescriptions { public static final String RESOURCE_NAME = ( InfinispanDescriptions . class . getPackage ( ) . getName ( ) ) + ".LocalDescriptions" ; private InfinispanDescriptions ( ) { } static ModelNode getSubsystemDescription ( Locale locale ) { } static ModelNode getSubsystemAddDescription ( Locale locale ) { } static ModelNode getSubsystemDescribeDescription ( Locale locale ) { } static ModelNode getSubsystemRemoveDescription ( Locale locale ) { } static ModelNode getCacheContainerDescription ( Locale locale ) { } static ModelNode getCacheContainerAddDescription ( Locale locale ) { } static ModelNode getAddAliasCommandDescription ( Locale locale ) { } static ModelNode getRemoveAliasCommandDescription ( Locale locale ) { } static ModelNode getCacheContainerRemoveDescription ( Locale locale ) { } static ModelNode getLocalCacheDescription ( Locale locale ) { } static ModelNode getLocalCacheAddDescription ( Locale locale ) { } static ModelNode getCacheRemoveDescription ( Locale locale ) { } static ModelNode getInvalidationCacheDescription ( Locale locale ) { } static ModelNode getInvalidationCacheAddDescription ( Locale locale ) { } static ModelNode getReplicatedCacheDescription ( Locale locale ) { } static ModelNode getReplicatedCacheAddDescription ( Locale locale ) { } static ModelNode getDistributedCacheDescription ( Locale locale ) { } static ModelNode getDistributedCacheAddDescription ( Locale locale ) { } static ModelNode getTransportDescription ( Locale locale ) { } static ModelNode getTransportAddDescription ( Locale locale ) { } static ModelNode getTransportRemoveDescription ( Locale locale ) { } private static ResourceBundle getResources ( Locale locale ) { } private static ModelNode createDescription ( ResourceBundle resources , String key ) { } private static ModelNode createOperationDescription ( String operation , ResourceBundle resources , String key ) { } private static ModelNode createSubsystemOperationDescription ( String operation , ResourceBundle resources ) { } private static ModelNode createCacheContainerOperationDescription ( String operation , ResourceBundle resources ) { } private static ModelNode createLocalCacheOperationDescription ( String operation , ResourceBundle resources ) { } private static ModelNode createInvalidationCacheOperationDescription ( String operation , ResourceBundle resources ) { } private static ModelNode createReplicatedCacheOperationDescription ( String operation , ResourceBundle resources ) { } private static ModelNode createDistributedCacheOperationDescription ( String operation , ResourceBundle resources ) { } private static ModelNode createTransportOperationDescription ( String operation , ResourceBundle resources ) { } private static ModelNode createLockingOperationDescription ( String operation , ResourceBundle resources ) { } private static ModelNode createTransactionOperationDescription ( String operation , ResourceBundle resources ) { } private static ModelNode createEvictionOperationDescription ( String operation , ResourceBundle resources ) { } private static ModelNode createExpirationOperationDescription ( String operation , ResourceBundle resources ) { } private static ModelNode createAddAliasCommandOperationDescription ( String operation , ResourceBundle resources ) { } private static ModelNode addNode ( ModelNode parent , String attribute , String description , ModelType type , boolean required ) { } private static void addCommonCacheRequestProperties ( String keyPrefix , ModelNode operation , ResourceBundle resources ) { } private static void addCommonClusteredCacheRequestProperties ( String keyPrefix , ModelNode operation , ResourceBundle resources ) { ModelNode requestProperties = operation . get ( REQUEST_PROPERTIES ) ; <START_BUG> InfinispanDescriptions . addNode ( requestProperties , MODE , resources . getString ( ( keyPrefix + ".mode" ) ) , STRING , false ) ; <END_BUG> InfinispanDescriptions . addNode ( requestProperties , QUEUE_SIZE , resources . getString ( ( keyPrefix + ".queue-size" ) ) , INT , false ) ; InfinispanDescriptions . addNode ( requestProperties , QUEUE_FLUSH_INTERVAL , resources . getString ( ( keyPrefix + ".queue-flush-interval" ) ) , LONG , false ) ; InfinispanDescriptions . addNode ( requestProperties , REMOTE_TIMEOUT , resources . getString ( ( keyPrefix + ".remote-timeout" ) ) , LONG , false ) ; } static ModelNode getLockingDescription ( Locale locale ) { } static ModelNode getLockingAddDescription ( Locale locale ) { } static ModelNode getLockingRemoveDescription ( Locale locale ) { } static ModelNode getTransactionDescription ( Locale locale ) { } static ModelNode getTransactionAddDescription ( Locale locale ) { } static ModelNode getTransactionRemoveDescription ( Locale locale ) { } static ModelNode getEvictionDescription ( Locale locale ) { } static ModelNode getEvictionAddDescription ( Locale locale ) { } static ModelNode getEvictionRemoveDescription ( Locale locale ) { } static ModelNode getExpirationDescription ( Locale locale ) { } static ModelNode getExpirationAddDescription ( Locale locale ) { } static ModelNode getExpirationRemoveDescription ( Locale locale ) { } }

Fix:
InfinispanDescriptions . addNode ( requestProperties , MODE , resources . getString ( ( keyPrefix + ".mode" ) ) , STRING , true ) ;