Details
-
Bug
-
Resolution: Done
-
Trivial
-
8.1.0.Final
-
None
Description
e.g.
static final SimpleAttributeDefinition SHUTDOWN_TIMEOUT = new SimpleAttributeDefinitionBuilder(ModelKeys.SHUTDOWN_TIMEOUT, ModelType.LONG, true) .setXmlName(Attribute.SHUTDOWN_TIMEOUT.getLocalName()) .setAllowExpression(true) .setFlags(AttributeAccess.Flag.RESTART_ALL_SERVICES) .setDefaultValue(new ModelNode().set(25000)) .build() ;
specifies long as the type, but the default value is int, moreover xsd also says int
<xs:attribute name="shutdown-timeout" type="xs:int" default="25000">
Attachments
Issue Links
- relates to
-
WFLY-3494 Inconsistent default values for max-entries and interval in model and XSD
- Closed