Fixing incorrect Javadoc for ConnectionConfigFactory.get/setMaxAnonymousLogins (FTPSERVER-363)
git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@992887 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/core/src/main/java/org/apache/ftpserver/ConnectionConfigFactory.java b/core/src/main/java/org/apache/ftpserver/ConnectionConfigFactory.java
index 2ae6624..e2c30fe 100644
--- a/core/src/main/java/org/apache/ftpserver/ConnectionConfigFactory.java
+++ b/core/src/main/java/org/apache/ftpserver/ConnectionConfigFactory.java
@@ -62,8 +62,8 @@
}
/**
- * The maximum number of time an anonymous user can fail to login before getting disconnected
- * @return The maximum number of failer login attempts
+ * The maximum number of anonymous logins the server would allow at any given time
+ * @return The maximum number of anonymous logins
*/
public int getMaxAnonymousLogins() {
return maxAnonymousLogins;
@@ -134,8 +134,8 @@
}
/**
- * Sets the maximum number of time an anonymous user can fail to login before getting disconnected
- * @param maxAnonymousLogins The maximum number of failer login attempts
+ * Sets the maximum number of anonymous logins the server would allow at any given time
+ * @param maxAnonymousLogins The maximum number of anonymous logins
*/
public void setMaxAnonymousLogins(final int maxAnonymousLogins) {
this.maxAnonymousLogins = maxAnonymousLogins;