jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajaqu...@apache.org
Subject svn commit: r667338 - /incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/auth/SecurityEventTrap.java
Date Fri, 13 Jun 2008 05:02:48 GMT
Author: ajaquith
Date: Thu Jun 12 22:02:48 2008
New Revision: 667338

URL: http://svn.apache.org/viewvc?rev=667338&view=rev
Log:
Miscellaneous and varied Java 5 enhancements (such as for-loops), or comments.

Modified:
    incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/auth/SecurityEventTrap.java

Modified: incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/auth/SecurityEventTrap.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/auth/SecurityEventTrap.java?rev=667338&r1=667337&r2=667338&view=diff
==============================================================================
--- incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/auth/SecurityEventTrap.java (original)
+++ incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/auth/SecurityEventTrap.java Thu Jun 12
22:02:48 2008
@@ -15,14 +15,14 @@
 public class SecurityEventTrap implements WikiEventListener
 {
     private WikiSecurityEvent m_lastEvent = null;
-    private List<WikiEvent>              m_events    = new ArrayList<WikiEvent>();
+    private List<WikiSecurityEvent> m_events    = new ArrayList<WikiSecurityEvent>();
 
     public void actionPerformed( WikiEvent event )
     {
         if ( event instanceof WikiSecurityEvent )
         {
             m_lastEvent = (WikiSecurityEvent)event;
-            m_events.add( event );
+            m_events.add( (WikiSecurityEvent)event );
         }
         else
         {



Mime
View raw message