|
@@ -34,8 +34,8 @@ public abstract class BaseQuestionVO {
|
|
|
return new TrueOrFalseQuestionVO(questionVO, withAnswer);
|
|
return new TrueOrFalseQuestionVO(questionVO, withAnswer);
|
|
|
case BLANK:
|
|
case BLANK:
|
|
|
return new BlankQuestionVO(questionVO, withAnswer);
|
|
return new BlankQuestionVO(questionVO, withAnswer);
|
|
|
-// case multiple_choice:
|
|
|
|
|
-// return new MultipleChoiceQuestionVO(questionVO, withAnswer);
|
|
|
|
|
|
|
+ case MULTIPLE_CHOICE:
|
|
|
|
|
+ return new MultipleChoiceQuestionVO(questionVO, withAnswer);
|
|
|
default:
|
|
default:
|
|
|
return null;
|
|
return null;
|
|
|
}
|
|
}
|