mariofusco commented on code in PR #5626:
URL:
https://github.com/apache/incubator-kie-drools/pull/5626#discussion_r1444493826
##########
kie-dmn/kie-dmn-feel/src/main/java/org/kie/dmn/feel/util/Msg.java:
##########
@@ -38,7 +38,7 @@ public final class Msg {
public static final Message2 INDEX_OUT_OF_BOUND = new Message2("Index out
of bound: list of %s elements, index %s; will evaluate as FEEL null");
public static final Message2 X_TYPE_INCOMPATIBLE_WITH_Y_TYPE = new
Message2("%s type incompatible with %s type");
public static final Message1 INCOMPATIBLE_TYPE_FOR_RANGE = new
Message1("Type %s can not be used in a range unary test");
- public static final Message1
VALUE_X_NOT_A_VALID_ENDPOINT_FOR_RANGE_BECAUSE_NOT_A_NUMBER = new
Message1("Value %s is not a valid endpoint for range, because not a
feel:number");
+ public static final Message1
VALUE_X_NOT_A_VALID_ENDPOINT_FOR_RANGE_BECAUSE_NOT_A_NUMBER_NOT_A_DATE = new
Message1("Value %s is not a valid endpoint for range, because not a feel:number
nor a feel:date");
Review Comment:
Reword error message with: "because **neither** a feel:number nor a
feel:date"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]