Updated Match the Meaning Question Class

Made all variable I can final and corrected mistake in Javadoc tag
This commit is contained in:
law39 2020-04-30 15:48:29 +01:00
parent b26a0d31a6
commit 6c4d4834c4

View file

@ -16,12 +16,12 @@ import java.util.Arrays;
* @author Tom Perry [top1]
* @author Waylen Watts [ncw]
* @version 0.1 Initial development
* @See Question
* @see Question
*/
public class MatchTheMeaningQuestion extends Question {
private ArrayList<DictionaryEntry> correctAnswer = new ArrayList<>();
private final ArrayList<DictionaryEntry> correctAnswer = new ArrayList<>();
public MatchTheMeaningQuestion(DictionaryEntry[] correctAnswer){
this.correctAnswer.addAll(Arrays.asList(correctAnswer));