geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickmcgu...@apache.org
Subject svn commit: r582842 - /geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/EventQueue.java
Date Mon, 08 Oct 2007 15:13:52 GMT
Author: rickmcguire
Date: Mon Oct  8 08:13:51 2007
New Revision: 582842

URL: http://svn.apache.org/viewvc?rev=582842&view=rev
Log:
Use Jarak Gawor's suggestion of using a LinkedList rather than an ArrayList 
to implement the EventQueue. 


Modified:
    geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/EventQueue.java

Modified: geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/EventQueue.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/EventQueue.java?rev=582842&r1=582841&r2=582842&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/EventQueue.java
(original)
+++ geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/EventQueue.java
Mon Oct  8 08:13:51 2007
@@ -24,7 +24,7 @@
 //
 package javax.mail;
 
-import java.util.ArrayList;
+import java.util.LinkedList;
 import java.util.List;
 
 import javax.mail.event.MailEvent;
@@ -51,7 +51,7 @@
     /**
      * The dispatching queue for events. 
      */
-    protected List eventQueue = new ArrayList(); 
+    protected List eventQueue = new LinkedList(); 
     
     /**
      * Create a new EventQueue, including starting the new thread. 



Mime
View raw message