Author: ngn
Date: Sun Sep 5 20:26:30 2010
New Revision: 992887
URL: http://svn.apache.org/viewvc?rev=992887&view=rev
Log:
Fixing incorrect Javadoc for ConnectionConfigFactory.get/setMaxAnonymousLogins
(FTPSERVER-363)
Modified:
mina/ftpserver/branches/1.0.x/core/src/main/java/org/apache/ftpserver/ConnectionConfigFactory.java
mina/ftpserver/trunk/core/src/main/java/org/apache/ftpserver/ConnectionConfigFactory.java
Modified:
mina/ftpserver/branches/1.0.x/core/src/main/java/org/apache/ftpserver/ConnectionConfigFactory.java
URL:
http://svn.apache.org/viewvc/mina/ftpserver/branches/1.0.x/core/src/main/java/org/apache/ftpserver/ConnectionConfigFactory.java?rev=992887&r1=992886&r2=992887&view=diff
==============================================================================
---
mina/ftpserver/branches/1.0.x/core/src/main/java/org/apache/ftpserver/ConnectionConfigFactory.java
(original)
+++
mina/ftpserver/branches/1.0.x/core/src/main/java/org/apache/ftpserver/ConnectionConfigFactory.java
Sun Sep 5 20:26:30 2010
@@ -59,8 +59,8 @@ public class ConnectionConfigFactory {
}
/**
- * 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;
@@ -108,8 +108,8 @@ public class ConnectionConfigFactory {
}
/**
- * 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;
Modified:
mina/ftpserver/trunk/core/src/main/java/org/apache/ftpserver/ConnectionConfigFactory.java
URL:
http://svn.apache.org/viewvc/mina/ftpserver/trunk/core/src/main/java/org/apache/ftpserver/ConnectionConfigFactory.java?rev=992887&r1=992886&r2=992887&view=diff
==============================================================================
---
mina/ftpserver/trunk/core/src/main/java/org/apache/ftpserver/ConnectionConfigFactory.java
(original)
+++
mina/ftpserver/trunk/core/src/main/java/org/apache/ftpserver/ConnectionConfigFactory.java
Sun Sep 5 20:26:30 2010
@@ -62,8 +62,8 @@ public class ConnectionConfigFactory {
}
/**
- * 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 @@ public class ConnectionConfigFactory {
}
/**
- * 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;