From 7cf9e2cfd69fe5e1fe2c2ff474996a59041256f6 Mon Sep 17 00:00:00 2001 From: law39 Date: Thu, 30 Apr 2020 15:57:28 +0100 Subject: [PATCH] Updated Six Meanings Class Corrected Javadoc tag Made variables final if possible Removed redundant imports --- .../group20/selfassessment/SixMeaningsQuestion.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Welsh Vocabulary Tutor/src/main/java/uk/ac/aber/cs22120/group20/selfassessment/SixMeaningsQuestion.java b/src/Welsh Vocabulary Tutor/src/main/java/uk/ac/aber/cs22120/group20/selfassessment/SixMeaningsQuestion.java index 2fd8f81..1808d22 100644 --- a/src/Welsh Vocabulary Tutor/src/main/java/uk/ac/aber/cs22120/group20/selfassessment/SixMeaningsQuestion.java +++ b/src/Welsh Vocabulary Tutor/src/main/java/uk/ac/aber/cs22120/group20/selfassessment/SixMeaningsQuestion.java @@ -1,10 +1,8 @@ package uk.ac.aber.cs22120.group20.selfassessment; -import uk.ac.aber.cs22120.group20.javafx.Application; import uk.ac.aber.cs22120.group20.json.DictionaryEntry; import java.util.ArrayList; -import java.util.Dictionary; import java.util.LinkedList; import java.util.Random; /** @@ -18,12 +16,12 @@ import java.util.Random; * @author Tom Perry [top1] * @author Waylen Watts [ncw] * @version 0.1 Initial development - * @See Question + * @see Question */ public class SixMeaningsQuestion extends Question{ - private DictionaryEntry correctAnswer; - private LinkedList dictionary; + private final DictionaryEntry correctAnswer; + private final LinkedList dictionary; public SixMeaningsQuestion(DictionaryEntry correctAnswer, LinkedList dictionary) { this.correctAnswer = correctAnswer;