Remove unnecessary throw

This commit is contained in:
Okko Kauhanen 2018-11-05 18:39:13 +02:00 committed by Matti Uusitalo
parent 430e8c89e8
commit 360e8d2d8f
1 changed files with 0 additions and 1 deletions

View File

@ -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){