Commit c08df35d authored by Hélène Ortiz's avatar Hélène Ortiz

Integer properties with hexadecimal format must accept hexadcimal values

parent 296ec324
...@@ -33,6 +33,9 @@ public class Int32Property extends IntegerProperty { ...@@ -33,6 +33,9 @@ public class Int32Property extends IntegerProperty {
return true; return true;
} }
catch (NumberFormatException e) { catch (NumberFormatException e) {
if (getPropertyFormat().acceptsValue(value)) { // Case of hexadecimal integer value
return true;
}
return false; return false;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment