[Rapforums-developer] src/source/edu/fullcoll/uportal/channels/rap/forum/filter DefaultFilter.java,1
Status: Beta
Brought to you by:
brippe
Update of /cvsroot/rapforums/src/source/edu/fullcoll/uportal/channels/rap/forum/filter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23460 Modified Files: DefaultFilter.java ICommentFilter.java IFilterManager.java ProfanityFilter.java RAPFilterManager.java Log Message: Update to version 0.8.3 Index: DefaultFilter.java =================================================================== RCS file: /cvsroot/rapforums/src/source/edu/fullcoll/uportal/channels/rap/forum/filter/DefaultFilter.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** DefaultFilter.java 25 Sep 2003 22:57:08 -0000 1.2 --- DefaultFilter.java 26 Jan 2004 18:59:41 -0000 1.3 *************** *** 1,4 **** /** ! * Copyright (C) 2003, Fullerton College. All Rights Reserved. * (http://www.fullcoll.edu) * --- 1,4 ---- /** ! * Copyright (c) 2004, Fullerton College. All Rights Reserved. * (http://www.fullcoll.edu) * *************** *** 27,31 **** * * @author Chris Pereda (cp...@fu...) ! * @version 0.8.2 $Revision %G% */ public class DefaultFilter implements ICommentFilter { --- 27,31 ---- * * @author Chris Pereda (cp...@fu...) ! * @version 0.8.3 $Revision %G% */ public class DefaultFilter implements ICommentFilter { *************** *** 34,38 **** * Filters the subject of a comment * @param subject the subject to filter ! * @returns the filtered subject */ public String filterSubject(String subject) { --- 34,38 ---- * Filters the subject of a comment * @param subject the subject to filter ! * @return the filtered subject */ public String filterSubject(String subject) { *************** *** 43,47 **** * Filters the body of a comment * @param body the body to filter ! * @returns the filtered body */ public String filterBody(String body) { --- 43,47 ---- * Filters the body of a comment * @param body the body to filter ! * @return the filtered body */ public String filterBody(String body) { Index: ICommentFilter.java =================================================================== RCS file: /cvsroot/rapforums/src/source/edu/fullcoll/uportal/channels/rap/forum/filter/ICommentFilter.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ICommentFilter.java 25 Sep 2003 22:57:08 -0000 1.2 --- ICommentFilter.java 26 Jan 2004 18:59:41 -0000 1.3 *************** *** 1,4 **** /** ! * Copyright (C) 2003, Fullerton College. All Rights Reserved. * (http://www.fullcoll.edu) * --- 1,4 ---- /** ! * Copyright (c) 2004, Fullerton College. All Rights Reserved. * (http://www.fullcoll.edu) * *************** *** 27,31 **** * * @author Chris Pereda (cp...@fu...) ! * @version 0.8.2 $Revision %G% */ public interface ICommentFilter --- 27,31 ---- * * @author Chris Pereda (cp...@fu...) ! * @version 0.8.3 $Revision %G% */ public interface ICommentFilter *************** *** 34,38 **** * Filters the subject of a comment * @param subject the subject to filter ! * @returns the filtered subject */ public String filterSubject(String subject); --- 34,38 ---- * Filters the subject of a comment * @param subject the subject to filter ! * @return the filtered subject */ public String filterSubject(String subject); *************** *** 41,45 **** * Filters the body of a comment * @param body the body to filter ! * @returns the filtered body */ public String filterBody(String body); --- 41,45 ---- * Filters the body of a comment * @param body the body to filter ! * @return the filtered body */ public String filterBody(String body); Index: IFilterManager.java =================================================================== RCS file: /cvsroot/rapforums/src/source/edu/fullcoll/uportal/channels/rap/forum/filter/IFilterManager.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** IFilterManager.java 25 Sep 2003 22:57:08 -0000 1.2 --- IFilterManager.java 26 Jan 2004 18:59:41 -0000 1.3 *************** *** 1,4 **** /** ! * Copyright (C) 2003, Fullerton College. All Rights Reserved. * (http://www.fullcoll.edu) * --- 1,4 ---- /** ! * Copyright (c) 2004, Fullerton College. All Rights Reserved. * (http://www.fullcoll.edu) * *************** *** 29,33 **** * * @author Chris Pereda (cp...@fu...) ! * @version 0.8.2 $Revision %G% */ public interface IFilterManager { --- 29,33 ---- * * @author Chris Pereda (cp...@fu...) ! * @version 0.8.3 $Revision %G% */ public interface IFilterManager { Index: ProfanityFilter.java =================================================================== RCS file: /cvsroot/rapforums/src/source/edu/fullcoll/uportal/channels/rap/forum/filter/ProfanityFilter.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ProfanityFilter.java 25 Sep 2003 22:57:08 -0000 1.2 --- ProfanityFilter.java 26 Jan 2004 18:59:41 -0000 1.3 *************** *** 1,4 **** /** ! * Copyright (C) 2003, Fullerton College. All Rights Reserved. * (http://www.fullcoll.edu) * --- 1,4 ---- /** ! * Copyright (c) 2004, Fullerton College. All Rights Reserved. * (http://www.fullcoll.edu) * *************** *** 33,37 **** * * @author Chris Pereda (cp...@fu...) ! * @version 0.8.2 $Revision %G% */ public class ProfanityFilter implements ICommentFilter { --- 33,37 ---- * * @author Chris Pereda (cp...@fu...) ! * @version 0.8.3 $Revision %G% */ public class ProfanityFilter implements ICommentFilter { *************** *** 43,46 **** --- 43,47 ---- "fuckers", "fucking", + "motherfucker", "ass", "asshole", *************** *** 67,71 **** * Filters the subject of a comment * @param subject the subject to filter ! * @returns the filtered subject */ public String filterSubject(String subject) { --- 68,72 ---- * Filters the subject of a comment * @param subject the subject to filter ! * @return the filtered subject */ public String filterSubject(String subject) { *************** *** 76,80 **** * Filters the body of a comment * @param body the body to filter ! * @returns the filtered body */ public String filterBody(String body) { --- 77,81 ---- * Filters the body of a comment * @param body the body to filter ! * @return the filtered body */ public String filterBody(String body) { Index: RAPFilterManager.java =================================================================== RCS file: /cvsroot/rapforums/src/source/edu/fullcoll/uportal/channels/rap/forum/filter/RAPFilterManager.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RAPFilterManager.java 25 Sep 2003 22:57:08 -0000 1.2 --- RAPFilterManager.java 26 Jan 2004 18:59:41 -0000 1.3 *************** *** 1,4 **** /** ! * Copyright (C) 2003, Fullerton College. All Rights Reserved. * (http://www.fullcoll.edu) * --- 1,4 ---- /** ! * Copyright (c) 2004, Fullerton College. All Rights Reserved. * (http://www.fullcoll.edu) * *************** *** 31,35 **** * * @author Chris Pereda (cp...@fu...) ! * @version 0.8.2 $Revision %G% */ public class RAPFilterManager implements IFilterManager { --- 31,35 ---- * * @author Chris Pereda (cp...@fu...) ! * @version 0.8.3 $Revision %G% */ public class RAPFilterManager implements IFilterManager { |