Added trim to Dictionary Entry

Added trim to Dictionary Entry, this removes white space preceding and following strings. This has been applied to the English, Welsh and Word Type Strings.
This commit is contained in:
law39 2020-04-29 17:40:28 +01:00
parent b17eedcaae
commit ace0217f62

View file

@ -57,7 +57,7 @@ public class DictionaryEntry {
}
public void setEnglish(String english) {
this.english = english;
this.english = english.trim();
}
public String getWelsh() {
@ -65,7 +65,7 @@ public class DictionaryEntry {
}
public void setWelsh(String welsh) {
this.welsh = welsh;
this.welsh = welsh.trim();
}
public String getWordType() {
@ -73,7 +73,7 @@ public class DictionaryEntry {
}
public void setWordType(String wordType) {
this.wordType = wordType;
this.wordType = wordType.trim();
}
public Boolean isPracticeWord() {