Permalink
Browse files

AS7-5679 giop-minor-version doesn't accept 0

  • Loading branch information...
1 parent b6846f6 commit d307395694a1c6ec0ae5d0d6a083a7ad0865ce2e @nekop nekop committed with n1hility Oct 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 jacorb/src/main/java/org/jboss/as/jacorb/JacORBSubsystemDefinitions.java
@@ -113,7 +113,7 @@
public static final SimpleAttributeDefinition ORB_GIOP_MINOR_VERSION = new SimpleAttributeDefinitionBuilder(
JacORBSubsystemConstants.ORB_GIOP_MINOR_VERSION, ModelType.INT, true)
.setDefaultValue(new ModelNode().set(2))
- .setValidator(new IntRangeValidator(1, 2, true, false))
+ .setValidator(new IntRangeValidator(0, 2, true, false))
.setFlags(AttributeAccess.Flag.RESTART_ALL_SERVICES)
.build();
@@ -437,4 +437,4 @@ public static AttributeDefinition valueOf(String attributeNAme) {
return ATTRIBUTES_BY_NAME.get(attributeNAme);
}
-}
+}

0 comments on commit d307395

Please sign in to comment.