ASM #16693 handles more swear words

Change-Id: I0b892e3e6748919a206597106604a50f108b1bf7

Former-commit-id: 6133c233bd3e02b0a8e1540dd6c496997184f11d
This commit is contained in:
Ying-Lian.Shi 2014-10-30 18:22:34 +00:00
parent 93df82ac92
commit 3d9fa4e763
2 changed files with 4 additions and 13 deletions

View file

@ -34923,14 +34923,6 @@ bistable
bistro
bistro's
bistros
bitched
bitchier
bitchiest
bitchily
bitchiness
bitchiness's
bitching
bitchy
biter's
bitings
bittern
@ -39696,8 +39688,6 @@ cockscomb
cockscomb's
cockscombs
cockshies
cocksucker
cocksuckers
cocksure
cocky
coco
@ -60609,7 +60599,6 @@ lepers
leprechaun
leprechaun's
leprechauns
leprosy's
leprous
lepta
lepton
@ -70881,7 +70870,6 @@ piscatorial
pismire
pismire's
pismires
pissers
pissoir
pissoirs
pistachio

View file

@ -79,6 +79,7 @@ import com.raytheon.uf.viz.spellchecker.jobs.SpellCheckJob;
* 18 APR 2008 ### lvenable Initial creation
* 01Mar2010 4765 MW Fegan Moved from GFE plug-in.
* 09/24/2014 #16693 lshi filter out swear words in spelling check
* 10/30/2014 #16693 lshi Add more swear words to the filter
*
* </pre>
*
@ -87,7 +88,9 @@ import com.raytheon.uf.viz.spellchecker.jobs.SpellCheckJob;
*
*/
public class SpellCheckDlg extends Dialog implements ISpellingProblemCollector {
private static java.util.List<String> swearWords = Arrays.asList("ASSHOLE");
private static java.util.List<String> swearWords = Arrays.asList("asshole", "asshole's", "assholes",
"bitch", "bitch's", "bitches", "leprosy", "gayest",
"shit", "piss", "pissed","psser","pisses","pissing","tits");
private static final transient IUFStatusHandler statusHandler = UFStatus.getHandler(SpellCheckDlg.class);