jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajaqu...@apache.org
Subject svn commit: r681273 - /incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/filters/ProfanityFilter.java
Date Thu, 31 Jul 2008 04:28:16 GMT
Author: ajaquith
Date: Wed Jul 30 21:28:15 2008
New Revision: 681273

URL: http://svn.apache.org/viewvc?rev=681273&view=rev
Log:
JSPWIKI-326: Fixed NPE in ProfanityFilter.

Modified:
    incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/filters/ProfanityFilter.java

Modified: incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/filters/ProfanityFilter.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/filters/ProfanityFilter.java?rev=681273&r1=681272&r2=681273&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/filters/ProfanityFilter.java (original)
+++ incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/filters/ProfanityFilter.java Wed Jul 30
21:28:15 2008
@@ -44,7 +44,7 @@
     private static Logger     log = Logger.getLogger(ProfanityFilter.class);
     
     private static final String PROPERTYFILE = "com/ecyrd/jspwiki/filters/profanity.properties";
-    private static String[] c_profanities;
+    private static String[] c_profanities = new String[0];
     
     static 
     {



Mime
View raw message