commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1091604 - /commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSServerSocketFactory.java
Date Tue, 12 Apr 2011 23:49:21 GMT
Author: sebb
Date: Tue Apr 12 23:49:20 2011
New Revision: 1091604

URL: http://svn.apache.org/viewvc?rev=1091604&view=rev
Log:
NET-404 Apply same fix to FTPSServerSocketFactory in case it's ever needed

Modified:
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSServerSocketFactory.java

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSServerSocketFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSServerSocketFactory.java?rev=1091604&r1=1091603&r2=1091604&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSServerSocketFactory.java
(original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSServerSocketFactory.java
Tue Apr 12 23:49:20 2011
@@ -38,6 +38,12 @@ public class FTPSServerSocketFactory ext
         this.context = context;
     }
 
+    // Override the default superclass method
+    @Override
+    public ServerSocket createServerSocket() throws IOException {
+        return init(this.context.getServerSocketFactory().createServerSocket());
+    }
+
     @Override
     public ServerSocket createServerSocket(int port) throws IOException {
         return init(this.context.getServerSocketFactory().createServerSocket(port));



Mime
View raw message