Remove unnecessary throw
This commit is contained in:
parent
4fff5ee27a
commit
8f338c1b63
|
@ -98,7 +98,6 @@ public class DefaultEnableWhenEvaluator implements IEnableWhenEvaluator {
|
|||
} else if (questionnaireItemOperator == QuestionnaireItemOperator.GREATER_THAN){
|
||||
return result > 0;
|
||||
}
|
||||
throw new RuntimeException("Bad operator for PrimitiveType comparison");
|
||||
} else if (questionnaireItemOperator == QuestionnaireItemOperator.EQUAL){
|
||||
return actualAnswer.equalsShallow(expectedAnswer);
|
||||
} else if (questionnaireItemOperator == QuestionnaireItemOperator.NOT_EQUAL){
|
||||
|
|
Loading…
Reference in New Issue