Updated Match the Meaning Question Class
Made all variable I can final and corrected mistake in Javadoc tag
This commit is contained in:
parent
b26a0d31a6
commit
6c4d4834c4
1 changed files with 2 additions and 2 deletions
|
@ -16,12 +16,12 @@ import java.util.Arrays;
|
||||||
* @author Tom Perry [top1]
|
* @author Tom Perry [top1]
|
||||||
* @author Waylen Watts [ncw]
|
* @author Waylen Watts [ncw]
|
||||||
* @version 0.1 Initial development
|
* @version 0.1 Initial development
|
||||||
* @See Question
|
* @see Question
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
public class MatchTheMeaningQuestion extends Question {
|
public class MatchTheMeaningQuestion extends Question {
|
||||||
private ArrayList<DictionaryEntry> correctAnswer = new ArrayList<>();
|
private final ArrayList<DictionaryEntry> correctAnswer = new ArrayList<>();
|
||||||
|
|
||||||
public MatchTheMeaningQuestion(DictionaryEntry[] correctAnswer){
|
public MatchTheMeaningQuestion(DictionaryEntry[] correctAnswer){
|
||||||
this.correctAnswer.addAll(Arrays.asList(correctAnswer));
|
this.correctAnswer.addAll(Arrays.asList(correctAnswer));
|
||||||
|
|
Reference in a new issue