Skip to content
Snippets Groups Projects
Commit 6a59a4f6 authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Fix typo in method name

parent 9c41f13c
Branches
Tags
No related merge requests found
......@@ -684,7 +684,7 @@ public class Question implements Serializable {
return answerText;
}
public void checkTextStricktOptions(Answer answer) {
public void checkTextStrictOptions(Answer answer) {
answer.setAnswerTextRaw(this.checkCaseSensitive(answer.getAnswerTextRaw()));
answer.setAnswerTextRaw(this.checkPunctuation(answer.getAnswerTextRaw()));
answer.setAnswerTextRaw(this.checkWhitespaces(answer.getAnswerTextRaw()));
......
......@@ -735,7 +735,7 @@ public class QuestionService implements IQuestionService, ApplicationEventPublis
theAnswer.setAnswerTextRaw(new String(theAnswer.getAnswerText()));
if (question.isStrictMode()) {
question.checkTextStricktOptions(theAnswer);
question.checkTextStrictOptions(theAnswer);
}
if (question.isFixedAnswer()) {
theAnswer.setQuestionValue(question.evaluateCorrectAnswerFixedText(theAnswer.getAnswerTextRaw()));
......@@ -758,7 +758,7 @@ public class QuestionService implements IQuestionService, ApplicationEventPublis
final Question question = getQuestion(answer.getQuestionId());
if ("freetext".equals(question.getQuestionType())) {
imageUtils.generateThumbnailImage(realAnswer);
question.checkTextStricktOptions(realAnswer);
question.checkTextStrictOptions(realAnswer);
}
final Answer result = databaseDao.updateAnswer(realAnswer);
final Session session = databaseDao.getSessionFromKeyword(question.getSessionKeyword());
......
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