You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by ng...@apache.org on 2008/11/26 15:31:16 UTC
svn commit: r720880 -
/mina/ftpserver/trunk/core/src/main/java/org/apache/ftpserver/FtpServerFactory.java
Author: ngn
Date: Wed Nov 26 06:31:16 2008
New Revision: 720880
URL: http://svn.apache.org/viewvc?rev=720880&view=rev
Log:
Improve Javadocs to explain that ordering of Ftplets requires passing an ordered Map
Modified:
mina/ftpserver/trunk/core/src/main/java/org/apache/ftpserver/FtpServerFactory.java
Modified: mina/ftpserver/trunk/core/src/main/java/org/apache/ftpserver/FtpServerFactory.java
URL: http://svn.apache.org/viewvc/mina/ftpserver/trunk/core/src/main/java/org/apache/ftpserver/FtpServerFactory.java?rev=720880&r1=720879&r2=720880&view=diff
==============================================================================
--- mina/ftpserver/trunk/core/src/main/java/org/apache/ftpserver/FtpServerFactory.java (original)
+++ mina/ftpserver/trunk/core/src/main/java/org/apache/ftpserver/FtpServerFactory.java Wed Nov 26 06:31:16 2008
@@ -19,6 +19,7 @@
package org.apache.ftpserver;
+import java.util.LinkedHashMap;
import java.util.Map;
import org.apache.ftpserver.command.CommandFactory;
@@ -117,7 +118,9 @@
*
* @param ftplets
* Ftplets as a map with the name as the key and the Ftplet as
- * the value
+ * the value. The Ftplet container will iterate over the map in the
+ * order provided by the Map. If invocation order of Ftplets is of importance,
+ * make sure to provide a ordered Map, for example {@link LinkedHashMap}.
* @throws IllegalStateException
* If a custom server context has been set
*/