You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ri...@apache.org on 2007/10/08 17:13:52 UTC
svn commit: r582842 -
/geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/EventQueue.java
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.