You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@commons.apache.org by gg...@apache.org on 2020/10/18 14:48:39 UTC
svn commit: r1066896 [21/24] - in
/websites/production/commons/content/proper/commons-net: ./ apidocs/
apidocs/org/apache/commons/net/ apidocs/org/apache/commons/net/bsd/
apidocs/org/apache/commons/net/bsd/class-use/
apidocs/org/apache/commons/net/char...
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ftp/FTPSClientTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ftp/FTPSClientTest.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ftp/FTPSClientTest.html Sun Oct 18 14:48:36 2020
@@ -48,199 +48,212 @@
<a class="jxr_linenumber" name="L40" href="#L40">40</a> <strong class="jxr_keyword">import</strong> org.junit.Assert;
<a class="jxr_linenumber" name="L41" href="#L41">41</a> <strong class="jxr_keyword">import</strong> org.junit.BeforeClass;
<a class="jxr_linenumber" name="L42" href="#L42">42</a> <strong class="jxr_keyword">import</strong> org.junit.Test;
-<a class="jxr_linenumber" name="L43" href="#L43">43</a>
-<a class="jxr_linenumber" name="L44" href="#L44">44</a> <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L45" href="#L45">45</a> <em class="jxr_javadoccomment"> * Tests {@link FTPSClient}.</em>
-<a class="jxr_linenumber" name="L46" href="#L46">46</a> <em class="jxr_javadoccomment"> * <p></em>
-<a class="jxr_linenumber" name="L47" href="#L47">47</a> <em class="jxr_javadoccomment"> * To get our test cert to work on Java 11, this test must be run with:</em>
-<a class="jxr_linenumber" name="L48" href="#L48">48</a> <em class="jxr_javadoccomment"> * </p></em>
-<a class="jxr_linenumber" name="L49" href="#L49">49</a> <em class="jxr_javadoccomment"> * </em>
-<a class="jxr_linenumber" name="L50" href="#L50">50</a> <em class="jxr_javadoccomment"> * <pre></em>
-<a class="jxr_linenumber" name="L51" href="#L51">51</a> <em class="jxr_javadoccomment"> * -Djdk.tls.client.protocols="TLSv1.1"</em>
-<a class="jxr_linenumber" name="L52" href="#L52">52</a> <em class="jxr_javadoccomment"> * </pre></em>
-<a class="jxr_linenumber" name="L53" href="#L53">53</a> <em class="jxr_javadoccomment"> * <p></em>
-<a class="jxr_linenumber" name="L54" href="#L54">54</a> <em class="jxr_javadoccomment"> * This test does the above programmatically.</em>
-<a class="jxr_linenumber" name="L55" href="#L55">55</a> <em class="jxr_javadoccomment"> * </p></em>
-<a class="jxr_linenumber" name="L56" href="#L56">56</a> <em class="jxr_javadoccomment"> */</em>
-<a class="jxr_linenumber" name="L57" href="#L57">57</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a name="FTPSClientTest" href="../../../../../org/apache/commons/net/ftp/FTPSClientTest.html#FTPSClientTest">FTPSClientTest</a> {
-<a class="jxr_linenumber" name="L58" href="#L58">58</a>
-<a class="jxr_linenumber" name="L59" href="#L59">59</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String JDK_TLS_CLIENT_PROTOCOLS = <span class="jxr_string">"jdk.tls.client.protocols"</span>;
-<a class="jxr_linenumber" name="L60" href="#L60">60</a>
-<a class="jxr_linenumber" name="L61" href="#L61">61</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">int</strong> SocketPort;
+<a class="jxr_linenumber" name="L43" href="#L43">43</a> <strong class="jxr_keyword">import</strong> org.junit.runner.RunWith;
+<a class="jxr_linenumber" name="L44" href="#L44">44</a> <strong class="jxr_keyword">import</strong> org.junit.runners.Parameterized;
+<a class="jxr_linenumber" name="L45" href="#L45">45</a> <strong class="jxr_keyword">import</strong> org.junit.runners.Parameterized.Parameters;
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>
+<a class="jxr_linenumber" name="L47" href="#L47">47</a> <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L48" href="#L48">48</a> <em class="jxr_javadoccomment"> * Tests {@link FTPSClient}.</em>
+<a class="jxr_linenumber" name="L49" href="#L49">49</a> <em class="jxr_javadoccomment"> * <p></em>
+<a class="jxr_linenumber" name="L50" href="#L50">50</a> <em class="jxr_javadoccomment"> * To get our test cert to work on Java 11, this test must be run with:</em>
+<a class="jxr_linenumber" name="L51" href="#L51">51</a> <em class="jxr_javadoccomment"> * </p></em>
+<a class="jxr_linenumber" name="L52" href="#L52">52</a> <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="L53" href="#L53">53</a> <em class="jxr_javadoccomment"> * <pre></em>
+<a class="jxr_linenumber" name="L54" href="#L54">54</a> <em class="jxr_javadoccomment"> * -Djdk.tls.client.protocols="TLSv1.1"</em>
+<a class="jxr_linenumber" name="L55" href="#L55">55</a> <em class="jxr_javadoccomment"> * </pre></em>
+<a class="jxr_linenumber" name="L56" href="#L56">56</a> <em class="jxr_javadoccomment"> * <p></em>
+<a class="jxr_linenumber" name="L57" href="#L57">57</a> <em class="jxr_javadoccomment"> * This test does the above programmatically.</em>
+<a class="jxr_linenumber" name="L58" href="#L58">58</a> <em class="jxr_javadoccomment"> * </p></em>
+<a class="jxr_linenumber" name="L59" href="#L59">59</a> <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L60" href="#L60">60</a> @RunWith(Parameterized.<strong class="jxr_keyword">class</strong>)
+<a class="jxr_linenumber" name="L61" href="#L61">61</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a name="FTPSClientTest" href="../../../../../org/apache/commons/net/ftp/FTPSClientTest.html#FTPSClientTest">FTPSClientTest</a> {
<a class="jxr_linenumber" name="L62" href="#L62">62</a>
-<a class="jxr_linenumber" name="L63" href="#L63">63</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> String ConnectionUri;
+<a class="jxr_linenumber" name="L63" href="#L63">63</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> endpointCheckingEnabled;
<a class="jxr_linenumber" name="L64" href="#L64">64</a>
-<a class="jxr_linenumber" name="L65" href="#L65">65</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> FtpServer Server;
-<a class="jxr_linenumber" name="L66" href="#L66">66</a>
-<a class="jxr_linenumber" name="L67" href="#L67">67</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String USER_PROPS_RES = <span class="jxr_string">"org/apache/commons/net/ftpsserver/users.properties"</span>;
-<a class="jxr_linenumber" name="L68" href="#L68">68</a>
-<a class="jxr_linenumber" name="L69" href="#L69">69</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SERVER_JKS_RES = <span class="jxr_string">"org/apache/commons/net/ftpsserver/ftpserver.jks"</span>;
-<a class="jxr_linenumber" name="L70" href="#L70">70</a>
-<a class="jxr_linenumber" name="L71" href="#L71">71</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> implicit = false;
-<a class="jxr_linenumber" name="L72" href="#L72">72</a>
-<a class="jxr_linenumber" name="L73" href="#L73">73</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> String TlsProtocols;
-<a class="jxr_linenumber" name="L74" href="#L74">74</a>
-<a class="jxr_linenumber" name="L75" href="#L75">75</a> @AfterClass
-<a class="jxr_linenumber" name="L76" href="#L76">76</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> afterClass() {
-<a class="jxr_linenumber" name="L77" href="#L77">77</a> <strong class="jxr_keyword">if</strong> (TlsProtocols == <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="L78" href="#L78">78</a> System.getProperties().remove(JDK_TLS_CLIENT_PROTOCOLS);
-<a class="jxr_linenumber" name="L79" href="#L79">79</a> } <strong class="jxr_keyword">else</strong> {
-<a class="jxr_linenumber" name="L80" href="#L80">80</a> System.setProperty(JDK_TLS_CLIENT_PROTOCOLS, TlsProtocols);
-<a class="jxr_linenumber" name="L81" href="#L81">81</a> }
-<a class="jxr_linenumber" name="L82" href="#L82">82</a> }
+<a class="jxr_linenumber" name="L65" href="#L65">65</a> <strong class="jxr_keyword">public</strong> <a name="FTPSClientTest" href="../../../../../org/apache/commons/net/ftp/FTPSClientTest.html#FTPSClientTest">FTPSClientTest</a>(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> endpointCheckingEnabled) {
+<a class="jxr_linenumber" name="L66" href="#L66">66</a> <strong class="jxr_keyword">super</strong>();
+<a class="jxr_linenumber" name="L67" href="#L67">67</a> <strong class="jxr_keyword">this</strong>.endpointCheckingEnabled = endpointCheckingEnabled;
+<a class="jxr_linenumber" name="L68" href="#L68">68</a> }
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>
+<a class="jxr_linenumber" name="L70" href="#L70">70</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String JDK_TLS_CLIENT_PROTOCOLS = <span class="jxr_string">"jdk.tls.client.protocols"</span>;
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>
+<a class="jxr_linenumber" name="L72" href="#L72">72</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">int</strong> SocketPort;
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>
+<a class="jxr_linenumber" name="L74" href="#L74">74</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> String ConnectionUri;
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>
+<a class="jxr_linenumber" name="L76" href="#L76">76</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> FtpServer Server;
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>
+<a class="jxr_linenumber" name="L78" href="#L78">78</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String USER_PROPS_RES = <span class="jxr_string">"org/apache/commons/net/ftpsserver/users.properties"</span>;
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>
+<a class="jxr_linenumber" name="L80" href="#L80">80</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SERVER_JKS_RES = <span class="jxr_string">"org/apache/commons/net/ftpsserver/ftpserver.jks"</span>;
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>
+<a class="jxr_linenumber" name="L82" href="#L82">82</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> implicit = false;
<a class="jxr_linenumber" name="L83" href="#L83">83</a>
-<a class="jxr_linenumber" name="L84" href="#L84">84</a> <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L85" href="#L85">85</a> <em class="jxr_javadoccomment"> * Returns the test directory as a String.</em>
-<a class="jxr_linenumber" name="L86" href="#L86">86</a> <em class="jxr_javadoccomment"> * </em>
-<a class="jxr_linenumber" name="L87" href="#L87">87</a> <em class="jxr_javadoccomment"> * @return the test directory as a String</em>
-<a class="jxr_linenumber" name="L88" href="#L88">88</a> <em class="jxr_javadoccomment"> */</em>
-<a class="jxr_linenumber" name="L89" href="#L89">89</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> String getTestHomeDirectory() {
-<a class="jxr_linenumber" name="L90" href="#L90">90</a> <strong class="jxr_keyword">return</strong> System.getProperty(<span class="jxr_string">"test.basedir"</span>, <span class="jxr_string">"target/test-classes/org/apache/commons/net/test-data"</span>);
-<a class="jxr_linenumber" name="L91" href="#L91">91</a> }
-<a class="jxr_linenumber" name="L92" href="#L92">92</a>
-<a class="jxr_linenumber" name="L93" href="#L93">93</a> @BeforeClass
-<a class="jxr_linenumber" name="L94" href="#L94">94</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> setUp() <strong class="jxr_keyword">throws</strong> Exception {
-<a class="jxr_linenumber" name="L95" href="#L95">95</a> setUpClass(implicit);
-<a class="jxr_linenumber" name="L96" href="#L96">96</a> }
-<a class="jxr_linenumber" name="L97" href="#L97">97</a>
-<a class="jxr_linenumber" name="L98" href="#L98">98</a> @BeforeClass
-<a class="jxr_linenumber" name="L99" href="#L99">99</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> setUpClass() {
-<a class="jxr_linenumber" name="L100" href="#L100">100</a> TlsProtocols = System.getProperty(JDK_TLS_CLIENT_PROTOCOLS);
-<a class="jxr_linenumber" name="L101" href="#L101">101</a> System.setProperty(JDK_TLS_CLIENT_PROTOCOLS, <span class="jxr_string">"TLSv1"</span>);
-<a class="jxr_linenumber" name="L102" href="#L102">102</a> }
-<a class="jxr_linenumber" name="L103" href="#L103">103</a>
-<a class="jxr_linenumber" name="L104" href="#L104">104</a> <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L105" href="#L105">105</a> <em class="jxr_javadoccomment"> * Creates and starts an embedded Apache MINA FTP Server.</em>
-<a class="jxr_linenumber" name="L106" href="#L106">106</a> <em class="jxr_javadoccomment"> *</em>
-<a class="jxr_linenumber" name="L107" href="#L107">107</a> <em class="jxr_javadoccomment"> * @param implicit FTPS connection mode</em>
-<a class="jxr_linenumber" name="L108" href="#L108">108</a> <em class="jxr_javadoccomment"> * @throws FtpException</em>
-<a class="jxr_linenumber" name="L109" href="#L109">109</a> <em class="jxr_javadoccomment"> * @throws IOException</em>
-<a class="jxr_linenumber" name="L110" href="#L110">110</a> <em class="jxr_javadoccomment"> */</em>
-<a class="jxr_linenumber" name="L111" href="#L111">111</a> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> setUpClass(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> implicit) <strong class="jxr_keyword">throws</strong> FtpException, IOException {
-<a class="jxr_linenumber" name="L112" href="#L112">112</a> <strong class="jxr_keyword">if</strong> (Server != <strong class="jxr_keyword">null</strong>) {
-<a class="jxr_linenumber" name="L113" href="#L113">113</a> <strong class="jxr_keyword">return</strong>;
-<a class="jxr_linenumber" name="L114" href="#L114">114</a> }
-<a class="jxr_linenumber" name="L115" href="#L115">115</a> <em class="jxr_comment">// Use an ephemeral port.</em>
-<a class="jxr_linenumber" name="L116" href="#L116">116</a> SocketPort = 0;
-<a class="jxr_linenumber" name="L117" href="#L117">117</a> <strong class="jxr_keyword">final</strong> FtpServerFactory serverFactory = <strong class="jxr_keyword">new</strong> FtpServerFactory();
-<a class="jxr_linenumber" name="L118" href="#L118">118</a> <strong class="jxr_keyword">final</strong> PropertiesUserManagerFactory propertiesUserManagerFactory = <strong class="jxr_keyword">new</strong> PropertiesUserManagerFactory();
-<a class="jxr_linenumber" name="L119" href="#L119">119</a> <strong class="jxr_keyword">final</strong> URL userPropsResource = ClassLoader.getSystemClassLoader().getResource(USER_PROPS_RES);
-<a class="jxr_linenumber" name="L120" href="#L120">120</a> Assert.assertNotNull(USER_PROPS_RES, userPropsResource);
-<a class="jxr_linenumber" name="L121" href="#L121">121</a> propertiesUserManagerFactory.setUrl(userPropsResource);
-<a class="jxr_linenumber" name="L122" href="#L122">122</a> <strong class="jxr_keyword">final</strong> UserManager userManager = propertiesUserManagerFactory.createUserManager();
-<a class="jxr_linenumber" name="L123" href="#L123">123</a> <strong class="jxr_keyword">final</strong> BaseUser user = (BaseUser) userManager.getUserByName(<span class="jxr_string">"test"</span>);
-<a class="jxr_linenumber" name="L124" href="#L124">124</a> <em class="jxr_comment">// Pickup the home dir value at runtime even though we have it set in the user</em>
-<a class="jxr_linenumber" name="L125" href="#L125">125</a> <em class="jxr_comment">// prop file</em>
-<a class="jxr_linenumber" name="L126" href="#L126">126</a> <em class="jxr_comment">// The user prop file requires the "homedirectory" to be set</em>
-<a class="jxr_linenumber" name="L127" href="#L127">127</a> user.setHomeDirectory(getTestHomeDirectory());
-<a class="jxr_linenumber" name="L128" href="#L128">128</a> serverFactory.setUserManager(userManager);
-<a class="jxr_linenumber" name="L129" href="#L129">129</a> <strong class="jxr_keyword">final</strong> ListenerFactory factory = <strong class="jxr_keyword">new</strong> ListenerFactory();
-<a class="jxr_linenumber" name="L130" href="#L130">130</a> <em class="jxr_comment">// set the port of the listener</em>
-<a class="jxr_linenumber" name="L131" href="#L131">131</a> factory.setPort(SocketPort);
-<a class="jxr_linenumber" name="L132" href="#L132">132</a>
-<a class="jxr_linenumber" name="L133" href="#L133">133</a> <em class="jxr_comment">// define SSL configuration</em>
-<a class="jxr_linenumber" name="L134" href="#L134">134</a> <strong class="jxr_keyword">final</strong> URL serverJksResource = ClassLoader.getSystemClassLoader().getResource(SERVER_JKS_RES);
-<a class="jxr_linenumber" name="L135" href="#L135">135</a> Assert.assertNotNull(SERVER_JKS_RES, serverJksResource);
-<a class="jxr_linenumber" name="L136" href="#L136">136</a> <strong class="jxr_keyword">final</strong> SslConfigurationFactory sllConfigFactory = <strong class="jxr_keyword">new</strong> SslConfigurationFactory();
-<a class="jxr_linenumber" name="L137" href="#L137">137</a> <strong class="jxr_keyword">final</strong> File keyStoreFile = FileUtils.toFile(serverJksResource);
-<a class="jxr_linenumber" name="L138" href="#L138">138</a> Assert.assertTrue(keyStoreFile.toString(), keyStoreFile.exists());
-<a class="jxr_linenumber" name="L139" href="#L139">139</a> sllConfigFactory.setKeystoreFile(keyStoreFile);
-<a class="jxr_linenumber" name="L140" href="#L140">140</a> sllConfigFactory.setKeystorePassword(<span class="jxr_string">"password"</span>);
-<a class="jxr_linenumber" name="L141" href="#L141">141</a> sllConfigFactory.setSslProtocol(<span class="jxr_string">"TLSv1.1"</span>);
-<a class="jxr_linenumber" name="L142" href="#L142">142</a>
-<a class="jxr_linenumber" name="L143" href="#L143">143</a> <em class="jxr_comment">// set the SSL configuration for the listener</em>
-<a class="jxr_linenumber" name="L144" href="#L144">144</a> factory.setSslConfiguration(sllConfigFactory.createSslConfiguration());
-<a class="jxr_linenumber" name="L145" href="#L145">145</a> factory.setImplicitSsl(implicit);
-<a class="jxr_linenumber" name="L146" href="#L146">146</a>
-<a class="jxr_linenumber" name="L147" href="#L147">147</a> <em class="jxr_comment">// replace the default listener</em>
-<a class="jxr_linenumber" name="L148" href="#L148">148</a> serverFactory.addListener(<span class="jxr_string">"default"</span>, factory.createListener());
-<a class="jxr_linenumber" name="L149" href="#L149">149</a>
-<a class="jxr_linenumber" name="L150" href="#L150">150</a> <em class="jxr_comment">// start the server</em>
-<a class="jxr_linenumber" name="L151" href="#L151">151</a> Server = serverFactory.createServer();
-<a class="jxr_linenumber" name="L152" href="#L152">152</a> Server.start();
-<a class="jxr_linenumber" name="L153" href="#L153">153</a> SocketPort = ((org.apache.ftpserver.impl.DefaultFtpServer) Server).getListener(<span class="jxr_string">"default"</span>).getPort();
-<a class="jxr_linenumber" name="L154" href="#L154">154</a> ConnectionUri = <span class="jxr_string">"ftps://test:test@localhost:"</span> + SocketPort;
-<a class="jxr_linenumber" name="L155" href="#L155">155</a> System.out.printf(<span class="jxr_string">"jdk.tls.disabledAlgorithms = %s%n"</span>, System.getProperty(<span class="jxr_string">"jdk.tls.disabledAlgorithms"</span>));
-<a class="jxr_linenumber" name="L156" href="#L156">156</a> }
-<a class="jxr_linenumber" name="L157" href="#L157">157</a>
-<a class="jxr_linenumber" name="L158" href="#L158">158</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> assertClientCode(<strong class="jxr_keyword">final</strong> FTPSClient client) {
-<a class="jxr_linenumber" name="L159" href="#L159">159</a> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> replyCode = client.getReplyCode();
-<a class="jxr_linenumber" name="L160" href="#L160">160</a> assertTrue(FTPReply.isPositiveCompletion(replyCode));
-<a class="jxr_linenumber" name="L161" href="#L161">161</a> }
-<a class="jxr_linenumber" name="L162" href="#L162">162</a>
-<a class="jxr_linenumber" name="L163" href="#L163">163</a> <strong class="jxr_keyword">private</strong> FTPSClient loginClient() <strong class="jxr_keyword">throws</strong> SocketException, IOException {
-<a class="jxr_linenumber" name="L164" href="#L164">164</a> <strong class="jxr_keyword">final</strong> FTPSClient client = <strong class="jxr_keyword">new</strong> FTPSClient(implicit);
-<a class="jxr_linenumber" name="L165" href="#L165">165</a> client.connect(<span class="jxr_string">"localhost"</span>, SocketPort);
-<a class="jxr_linenumber" name="L166" href="#L166">166</a> assertClientCode(client);
-<a class="jxr_linenumber" name="L167" href="#L167">167</a> assertEquals(SocketPort, client.getRemotePort());
-<a class="jxr_linenumber" name="L168" href="#L168">168</a> <em class="jxr_comment">//</em>
-<a class="jxr_linenumber" name="L169" href="#L169">169</a> assertTrue(client.login(<span class="jxr_string">"test"</span>, <span class="jxr_string">"test"</span>));
-<a class="jxr_linenumber" name="L170" href="#L170">170</a> assertClientCode(client);
-<a class="jxr_linenumber" name="L171" href="#L171">171</a> <em class="jxr_comment">//</em>
-<a class="jxr_linenumber" name="L172" href="#L172">172</a> client.setFileType(FTP.BINARY_FILE_TYPE);
-<a class="jxr_linenumber" name="L173" href="#L173">173</a> assertClientCode(client);
-<a class="jxr_linenumber" name="L174" href="#L174">174</a> <em class="jxr_comment">//</em>
-<a class="jxr_linenumber" name="L175" href="#L175">175</a> client.execPBSZ(0);
-<a class="jxr_linenumber" name="L176" href="#L176">176</a> assertClientCode(client);
-<a class="jxr_linenumber" name="L177" href="#L177">177</a> <em class="jxr_comment">//</em>
-<a class="jxr_linenumber" name="L178" href="#L178">178</a> client.execPROT(<span class="jxr_string">"P"</span>);
+<a class="jxr_linenumber" name="L84" href="#L84">84</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> String TlsProtocols;
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>
+<a class="jxr_linenumber" name="L86" href="#L86">86</a> @Parameters(name = <span class="jxr_string">"endpointCheckingEnabled={0}"</span>)
+<a class="jxr_linenumber" name="L87" href="#L87">87</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> Boolean[] testConstructurData() {
+<a class="jxr_linenumber" name="L88" href="#L88">88</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> Boolean[] {Boolean.FALSE, Boolean.TRUE};
+<a class="jxr_linenumber" name="L89" href="#L89">89</a> }
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>
+<a class="jxr_linenumber" name="L91" href="#L91">91</a> @AfterClass
+<a class="jxr_linenumber" name="L92" href="#L92">92</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> afterClass() {
+<a class="jxr_linenumber" name="L93" href="#L93">93</a> <strong class="jxr_keyword">if</strong> (TlsProtocols == <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L94" href="#L94">94</a> System.getProperties().remove(JDK_TLS_CLIENT_PROTOCOLS);
+<a class="jxr_linenumber" name="L95" href="#L95">95</a> } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="L96" href="#L96">96</a> System.setProperty(JDK_TLS_CLIENT_PROTOCOLS, TlsProtocols);
+<a class="jxr_linenumber" name="L97" href="#L97">97</a> }
+<a class="jxr_linenumber" name="L98" href="#L98">98</a> }
+<a class="jxr_linenumber" name="L99" href="#L99">99</a>
+<a class="jxr_linenumber" name="L100" href="#L100">100</a> <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L101" href="#L101">101</a> <em class="jxr_javadoccomment"> * Returns the test directory as a String.</em>
+<a class="jxr_linenumber" name="L102" href="#L102">102</a> <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="L103" href="#L103">103</a> <em class="jxr_javadoccomment"> * @return the test directory as a String</em>
+<a class="jxr_linenumber" name="L104" href="#L104">104</a> <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L105" href="#L105">105</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> String getTestHomeDirectory() {
+<a class="jxr_linenumber" name="L106" href="#L106">106</a> <strong class="jxr_keyword">return</strong> System.getProperty(<span class="jxr_string">"test.basedir"</span>, <span class="jxr_string">"target/test-classes/org/apache/commons/net/test-data"</span>);
+<a class="jxr_linenumber" name="L107" href="#L107">107</a> }
+<a class="jxr_linenumber" name="L108" href="#L108">108</a>
+<a class="jxr_linenumber" name="L109" href="#L109">109</a> @BeforeClass
+<a class="jxr_linenumber" name="L110" href="#L110">110</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> setUpClass() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L111" href="#L111">111</a> TlsProtocols = System.getProperty(JDK_TLS_CLIENT_PROTOCOLS);
+<a class="jxr_linenumber" name="L112" href="#L112">112</a> System.setProperty(JDK_TLS_CLIENT_PROTOCOLS, <span class="jxr_string">"TLSv1"</span>);
+<a class="jxr_linenumber" name="L113" href="#L113">113</a> setUpClass(implicit);
+<a class="jxr_linenumber" name="L114" href="#L114">114</a> }
+<a class="jxr_linenumber" name="L115" href="#L115">115</a>
+<a class="jxr_linenumber" name="L116" href="#L116">116</a> <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L117" href="#L117">117</a> <em class="jxr_javadoccomment"> * Creates and starts an embedded Apache MINA FTP Server.</em>
+<a class="jxr_linenumber" name="L118" href="#L118">118</a> <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="L119" href="#L119">119</a> <em class="jxr_javadoccomment"> * @param implicit FTPS connection mode</em>
+<a class="jxr_linenumber" name="L120" href="#L120">120</a> <em class="jxr_javadoccomment"> * @throws FtpException</em>
+<a class="jxr_linenumber" name="L121" href="#L121">121</a> <em class="jxr_javadoccomment"> * @throws IOException</em>
+<a class="jxr_linenumber" name="L122" href="#L122">122</a> <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L123" href="#L123">123</a> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> setUpClass(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> implicit) <strong class="jxr_keyword">throws</strong> FtpException, IOException {
+<a class="jxr_linenumber" name="L124" href="#L124">124</a> <strong class="jxr_keyword">if</strong> (Server != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L125" href="#L125">125</a> <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="L126" href="#L126">126</a> }
+<a class="jxr_linenumber" name="L127" href="#L127">127</a> <em class="jxr_comment">// Use an ephemeral port.</em>
+<a class="jxr_linenumber" name="L128" href="#L128">128</a> SocketPort = 0;
+<a class="jxr_linenumber" name="L129" href="#L129">129</a> <strong class="jxr_keyword">final</strong> FtpServerFactory serverFactory = <strong class="jxr_keyword">new</strong> FtpServerFactory();
+<a class="jxr_linenumber" name="L130" href="#L130">130</a> <strong class="jxr_keyword">final</strong> PropertiesUserManagerFactory propertiesUserManagerFactory = <strong class="jxr_keyword">new</strong> PropertiesUserManagerFactory();
+<a class="jxr_linenumber" name="L131" href="#L131">131</a> <strong class="jxr_keyword">final</strong> URL userPropsResource = ClassLoader.getSystemClassLoader().getResource(USER_PROPS_RES);
+<a class="jxr_linenumber" name="L132" href="#L132">132</a> Assert.assertNotNull(USER_PROPS_RES, userPropsResource);
+<a class="jxr_linenumber" name="L133" href="#L133">133</a> propertiesUserManagerFactory.setUrl(userPropsResource);
+<a class="jxr_linenumber" name="L134" href="#L134">134</a> <strong class="jxr_keyword">final</strong> UserManager userManager = propertiesUserManagerFactory.createUserManager();
+<a class="jxr_linenumber" name="L135" href="#L135">135</a> <strong class="jxr_keyword">final</strong> BaseUser user = (BaseUser) userManager.getUserByName(<span class="jxr_string">"test"</span>);
+<a class="jxr_linenumber" name="L136" href="#L136">136</a> <em class="jxr_comment">// Pickup the home dir value at runtime even though we have it set in the user</em>
+<a class="jxr_linenumber" name="L137" href="#L137">137</a> <em class="jxr_comment">// prop file</em>
+<a class="jxr_linenumber" name="L138" href="#L138">138</a> <em class="jxr_comment">// The user prop file requires the "homedirectory" to be set</em>
+<a class="jxr_linenumber" name="L139" href="#L139">139</a> user.setHomeDirectory(getTestHomeDirectory());
+<a class="jxr_linenumber" name="L140" href="#L140">140</a> serverFactory.setUserManager(userManager);
+<a class="jxr_linenumber" name="L141" href="#L141">141</a> <strong class="jxr_keyword">final</strong> ListenerFactory factory = <strong class="jxr_keyword">new</strong> ListenerFactory();
+<a class="jxr_linenumber" name="L142" href="#L142">142</a> <em class="jxr_comment">// set the port of the listener</em>
+<a class="jxr_linenumber" name="L143" href="#L143">143</a> factory.setPort(SocketPort);
+<a class="jxr_linenumber" name="L144" href="#L144">144</a>
+<a class="jxr_linenumber" name="L145" href="#L145">145</a> <em class="jxr_comment">// define SSL configuration</em>
+<a class="jxr_linenumber" name="L146" href="#L146">146</a> <strong class="jxr_keyword">final</strong> URL serverJksResource = ClassLoader.getSystemClassLoader().getResource(SERVER_JKS_RES);
+<a class="jxr_linenumber" name="L147" href="#L147">147</a> Assert.assertNotNull(SERVER_JKS_RES, serverJksResource);
+<a class="jxr_linenumber" name="L148" href="#L148">148</a> <strong class="jxr_keyword">final</strong> SslConfigurationFactory sllConfigFactory = <strong class="jxr_keyword">new</strong> SslConfigurationFactory();
+<a class="jxr_linenumber" name="L149" href="#L149">149</a> <strong class="jxr_keyword">final</strong> File keyStoreFile = FileUtils.toFile(serverJksResource);
+<a class="jxr_linenumber" name="L150" href="#L150">150</a> Assert.assertTrue(keyStoreFile.toString(), keyStoreFile.exists());
+<a class="jxr_linenumber" name="L151" href="#L151">151</a> sllConfigFactory.setKeystoreFile(keyStoreFile);
+<a class="jxr_linenumber" name="L152" href="#L152">152</a> sllConfigFactory.setKeystorePassword(<span class="jxr_string">"password"</span>);
+<a class="jxr_linenumber" name="L153" href="#L153">153</a> sllConfigFactory.setSslProtocol(<span class="jxr_string">"TLSv1.1"</span>);
+<a class="jxr_linenumber" name="L154" href="#L154">154</a>
+<a class="jxr_linenumber" name="L155" href="#L155">155</a> <em class="jxr_comment">// set the SSL configuration for the listener</em>
+<a class="jxr_linenumber" name="L156" href="#L156">156</a> factory.setSslConfiguration(sllConfigFactory.createSslConfiguration());
+<a class="jxr_linenumber" name="L157" href="#L157">157</a> factory.setImplicitSsl(implicit);
+<a class="jxr_linenumber" name="L158" href="#L158">158</a>
+<a class="jxr_linenumber" name="L159" href="#L159">159</a> <em class="jxr_comment">// replace the default listener</em>
+<a class="jxr_linenumber" name="L160" href="#L160">160</a> serverFactory.addListener(<span class="jxr_string">"default"</span>, factory.createListener());
+<a class="jxr_linenumber" name="L161" href="#L161">161</a>
+<a class="jxr_linenumber" name="L162" href="#L162">162</a> <em class="jxr_comment">// start the server</em>
+<a class="jxr_linenumber" name="L163" href="#L163">163</a> Server = serverFactory.createServer();
+<a class="jxr_linenumber" name="L164" href="#L164">164</a> Server.start();
+<a class="jxr_linenumber" name="L165" href="#L165">165</a> SocketPort = ((org.apache.ftpserver.impl.DefaultFtpServer) Server).getListener(<span class="jxr_string">"default"</span>).getPort();
+<a class="jxr_linenumber" name="L166" href="#L166">166</a> ConnectionUri = <span class="jxr_string">"ftps://test:test@localhost:"</span> + SocketPort;
+<a class="jxr_linenumber" name="L167" href="#L167">167</a> <em class="jxr_comment">// System.out.printf("jdk.tls.disabledAlgorithms = %s%n", System.getProperty("jdk.tls.disabledAlgorithms"));</em>
+<a class="jxr_linenumber" name="L168" href="#L168">168</a> }
+<a class="jxr_linenumber" name="L169" href="#L169">169</a>
+<a class="jxr_linenumber" name="L170" href="#L170">170</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> assertClientCode(<strong class="jxr_keyword">final</strong> FTPSClient client) {
+<a class="jxr_linenumber" name="L171" href="#L171">171</a> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> replyCode = client.getReplyCode();
+<a class="jxr_linenumber" name="L172" href="#L172">172</a> assertTrue(FTPReply.isPositiveCompletion(replyCode));
+<a class="jxr_linenumber" name="L173" href="#L173">173</a> }
+<a class="jxr_linenumber" name="L174" href="#L174">174</a>
+<a class="jxr_linenumber" name="L175" href="#L175">175</a> <strong class="jxr_keyword">private</strong> FTPSClient loginClient() <strong class="jxr_keyword">throws</strong> SocketException, IOException {
+<a class="jxr_linenumber" name="L176" href="#L176">176</a> <strong class="jxr_keyword">final</strong> FTPSClient client = <strong class="jxr_keyword">new</strong> FTPSClient(implicit);
+<a class="jxr_linenumber" name="L177" href="#L177">177</a> client.setEndpointCheckingEnabled(endpointCheckingEnabled);
+<a class="jxr_linenumber" name="L178" href="#L178">178</a> client.connect(<span class="jxr_string">"localhost"</span>, SocketPort);
<a class="jxr_linenumber" name="L179" href="#L179">179</a> assertClientCode(client);
-<a class="jxr_linenumber" name="L180" href="#L180">180</a> <strong class="jxr_keyword">return</strong> client;
-<a class="jxr_linenumber" name="L181" href="#L181">181</a> }
-<a class="jxr_linenumber" name="L182" href="#L182">182</a>
-<a class="jxr_linenumber" name="L183" href="#L183">183</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> retrieveFile(<strong class="jxr_keyword">final</strong> String pathname) <strong class="jxr_keyword">throws</strong> SocketException, IOException {
-<a class="jxr_linenumber" name="L184" href="#L184">184</a> <strong class="jxr_keyword">final</strong> FTPSClient client = loginClient();
-<a class="jxr_linenumber" name="L185" href="#L185">185</a> <strong class="jxr_keyword">try</strong> {
-<a class="jxr_linenumber" name="L186" href="#L186">186</a> <em class="jxr_comment">// Do it twice.</em>
-<a class="jxr_linenumber" name="L187" href="#L187">187</a> <em class="jxr_comment">// Just testing that we are not getting an SSL error (the file MUST be present).</em>
-<a class="jxr_linenumber" name="L188" href="#L188">188</a> assertTrue(pathname, client.retrieveFile(pathname, NullOutputStream.NULL_OUTPUT_STREAM));
-<a class="jxr_linenumber" name="L189" href="#L189">189</a> assertTrue(pathname, client.retrieveFile(pathname, NullOutputStream.NULL_OUTPUT_STREAM));
-<a class="jxr_linenumber" name="L190" href="#L190">190</a> } <strong class="jxr_keyword">finally</strong> {
-<a class="jxr_linenumber" name="L191" href="#L191">191</a> client.disconnect();
-<a class="jxr_linenumber" name="L192" href="#L192">192</a> }
-<a class="jxr_linenumber" name="L193" href="#L193">193</a> }
-<a class="jxr_linenumber" name="L194" href="#L194">194</a>
-<a class="jxr_linenumber" name="L195" href="#L195">195</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> testListFiles(<strong class="jxr_keyword">final</strong> String pathname) <strong class="jxr_keyword">throws</strong> SocketException, IOException {
-<a class="jxr_linenumber" name="L196" href="#L196">196</a> <strong class="jxr_keyword">final</strong> FTPSClient client = loginClient();
-<a class="jxr_linenumber" name="L197" href="#L197">197</a> <strong class="jxr_keyword">try</strong> {
-<a class="jxr_linenumber" name="L198" href="#L198">198</a> <em class="jxr_comment">// do it twice</em>
-<a class="jxr_linenumber" name="L199" href="#L199">199</a> assertNotNull(client.listFiles(pathname));
-<a class="jxr_linenumber" name="L200" href="#L200">200</a> assertNotNull(client.listFiles(pathname));
-<a class="jxr_linenumber" name="L201" href="#L201">201</a> } <strong class="jxr_keyword">finally</strong> {
-<a class="jxr_linenumber" name="L202" href="#L202">202</a> client.disconnect();
-<a class="jxr_linenumber" name="L203" href="#L203">203</a> }
-<a class="jxr_linenumber" name="L204" href="#L204">204</a> }
-<a class="jxr_linenumber" name="L205" href="#L205">205</a>
-<a class="jxr_linenumber" name="L206" href="#L206">206</a> @Test
-<a class="jxr_linenumber" name="L207" href="#L207">207</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testListFilesPathNameEmpty() <strong class="jxr_keyword">throws</strong> SocketException, IOException {
-<a class="jxr_linenumber" name="L208" href="#L208">208</a> testListFiles(<span class="jxr_string">""</span>);
-<a class="jxr_linenumber" name="L209" href="#L209">209</a> }
-<a class="jxr_linenumber" name="L210" href="#L210">210</a>
-<a class="jxr_linenumber" name="L211" href="#L211">211</a> @Test
-<a class="jxr_linenumber" name="L212" href="#L212">212</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testListFilesPathNameJunk() <strong class="jxr_keyword">throws</strong> SocketException, IOException {
-<a class="jxr_linenumber" name="L213" href="#L213">213</a> testListFiles(<span class="jxr_string">" Junk "</span>);
-<a class="jxr_linenumber" name="L214" href="#L214">214</a> }
-<a class="jxr_linenumber" name="L215" href="#L215">215</a>
-<a class="jxr_linenumber" name="L216" href="#L216">216</a> @Test
-<a class="jxr_linenumber" name="L217" href="#L217">217</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testListFilesPathNameNull() <strong class="jxr_keyword">throws</strong> SocketException, IOException {
-<a class="jxr_linenumber" name="L218" href="#L218">218</a> testListFiles(<strong class="jxr_keyword">null</strong>);
-<a class="jxr_linenumber" name="L219" href="#L219">219</a> }
-<a class="jxr_linenumber" name="L220" href="#L220">220</a>
-<a class="jxr_linenumber" name="L221" href="#L221">221</a> @Test
-<a class="jxr_linenumber" name="L222" href="#L222">222</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testListFilesPathNameRoot() <strong class="jxr_keyword">throws</strong> SocketException, IOException {
-<a class="jxr_linenumber" name="L223" href="#L223">223</a> testListFiles(<span class="jxr_string">"/"</span>);
-<a class="jxr_linenumber" name="L224" href="#L224">224</a> }
-<a class="jxr_linenumber" name="L225" href="#L225">225</a>
-<a class="jxr_linenumber" name="L226" href="#L226">226</a> @Test
-<a class="jxr_linenumber" name="L227" href="#L227">227</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testOpenClose() <strong class="jxr_keyword">throws</strong> SocketException, IOException {
-<a class="jxr_linenumber" name="L228" href="#L228">228</a> loginClient().disconnect();
-<a class="jxr_linenumber" name="L229" href="#L229">229</a> }
-<a class="jxr_linenumber" name="L230" href="#L230">230</a>
-<a class="jxr_linenumber" name="L231" href="#L231">231</a> @Test
-<a class="jxr_linenumber" name="L232" href="#L232">232</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testRetrieveFilePathNameRoot() <strong class="jxr_keyword">throws</strong> SocketException, IOException {
-<a class="jxr_linenumber" name="L233" href="#L233">233</a> retrieveFile(<span class="jxr_string">"/file.txt"</span>);
-<a class="jxr_linenumber" name="L234" href="#L234">234</a> }
-<a class="jxr_linenumber" name="L235" href="#L235">235</a> }
+<a class="jxr_linenumber" name="L180" href="#L180">180</a> assertEquals(SocketPort, client.getRemotePort());
+<a class="jxr_linenumber" name="L181" href="#L181">181</a> <em class="jxr_comment">//</em>
+<a class="jxr_linenumber" name="L182" href="#L182">182</a> assertTrue(client.login(<span class="jxr_string">"test"</span>, <span class="jxr_string">"test"</span>));
+<a class="jxr_linenumber" name="L183" href="#L183">183</a> assertClientCode(client);
+<a class="jxr_linenumber" name="L184" href="#L184">184</a> <em class="jxr_comment">//</em>
+<a class="jxr_linenumber" name="L185" href="#L185">185</a> client.setFileType(FTP.BINARY_FILE_TYPE);
+<a class="jxr_linenumber" name="L186" href="#L186">186</a> assertClientCode(client);
+<a class="jxr_linenumber" name="L187" href="#L187">187</a> <em class="jxr_comment">//</em>
+<a class="jxr_linenumber" name="L188" href="#L188">188</a> client.execPBSZ(0);
+<a class="jxr_linenumber" name="L189" href="#L189">189</a> assertClientCode(client);
+<a class="jxr_linenumber" name="L190" href="#L190">190</a> <em class="jxr_comment">//</em>
+<a class="jxr_linenumber" name="L191" href="#L191">191</a> client.execPROT(<span class="jxr_string">"P"</span>);
+<a class="jxr_linenumber" name="L192" href="#L192">192</a> assertClientCode(client);
+<a class="jxr_linenumber" name="L193" href="#L193">193</a> <strong class="jxr_keyword">return</strong> client;
+<a class="jxr_linenumber" name="L194" href="#L194">194</a> }
+<a class="jxr_linenumber" name="L195" href="#L195">195</a>
+<a class="jxr_linenumber" name="L196" href="#L196">196</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> retrieveFile(<strong class="jxr_keyword">final</strong> String pathname) <strong class="jxr_keyword">throws</strong> SocketException, IOException {
+<a class="jxr_linenumber" name="L197" href="#L197">197</a> <strong class="jxr_keyword">final</strong> FTPSClient client = loginClient();
+<a class="jxr_linenumber" name="L198" href="#L198">198</a> <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="L199" href="#L199">199</a> <em class="jxr_comment">// Do it twice.</em>
+<a class="jxr_linenumber" name="L200" href="#L200">200</a> <em class="jxr_comment">// Just testing that we are not getting an SSL error (the file MUST be present).</em>
+<a class="jxr_linenumber" name="L201" href="#L201">201</a> assertTrue(pathname, client.retrieveFile(pathname, NullOutputStream.NULL_OUTPUT_STREAM));
+<a class="jxr_linenumber" name="L202" href="#L202">202</a> assertTrue(pathname, client.retrieveFile(pathname, NullOutputStream.NULL_OUTPUT_STREAM));
+<a class="jxr_linenumber" name="L203" href="#L203">203</a> } <strong class="jxr_keyword">finally</strong> {
+<a class="jxr_linenumber" name="L204" href="#L204">204</a> client.disconnect();
+<a class="jxr_linenumber" name="L205" href="#L205">205</a> }
+<a class="jxr_linenumber" name="L206" href="#L206">206</a> }
+<a class="jxr_linenumber" name="L207" href="#L207">207</a>
+<a class="jxr_linenumber" name="L208" href="#L208">208</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> testListFiles(<strong class="jxr_keyword">final</strong> String pathname) <strong class="jxr_keyword">throws</strong> SocketException, IOException {
+<a class="jxr_linenumber" name="L209" href="#L209">209</a> <strong class="jxr_keyword">final</strong> FTPSClient client = loginClient();
+<a class="jxr_linenumber" name="L210" href="#L210">210</a> <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="L211" href="#L211">211</a> <em class="jxr_comment">// do it twice</em>
+<a class="jxr_linenumber" name="L212" href="#L212">212</a> assertNotNull(client.listFiles(pathname));
+<a class="jxr_linenumber" name="L213" href="#L213">213</a> assertNotNull(client.listFiles(pathname));
+<a class="jxr_linenumber" name="L214" href="#L214">214</a> } <strong class="jxr_keyword">finally</strong> {
+<a class="jxr_linenumber" name="L215" href="#L215">215</a> client.disconnect();
+<a class="jxr_linenumber" name="L216" href="#L216">216</a> }
+<a class="jxr_linenumber" name="L217" href="#L217">217</a> }
+<a class="jxr_linenumber" name="L218" href="#L218">218</a>
+<a class="jxr_linenumber" name="L219" href="#L219">219</a> @Test
+<a class="jxr_linenumber" name="L220" href="#L220">220</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testListFilesPathNameEmpty() <strong class="jxr_keyword">throws</strong> SocketException, IOException {
+<a class="jxr_linenumber" name="L221" href="#L221">221</a> testListFiles(<span class="jxr_string">""</span>);
+<a class="jxr_linenumber" name="L222" href="#L222">222</a> }
+<a class="jxr_linenumber" name="L223" href="#L223">223</a>
+<a class="jxr_linenumber" name="L224" href="#L224">224</a> @Test
+<a class="jxr_linenumber" name="L225" href="#L225">225</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testListFilesPathNameJunk() <strong class="jxr_keyword">throws</strong> SocketException, IOException {
+<a class="jxr_linenumber" name="L226" href="#L226">226</a> testListFiles(<span class="jxr_string">" Junk "</span>);
+<a class="jxr_linenumber" name="L227" href="#L227">227</a> }
+<a class="jxr_linenumber" name="L228" href="#L228">228</a>
+<a class="jxr_linenumber" name="L229" href="#L229">229</a> @Test
+<a class="jxr_linenumber" name="L230" href="#L230">230</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testListFilesPathNameNull() <strong class="jxr_keyword">throws</strong> SocketException, IOException {
+<a class="jxr_linenumber" name="L231" href="#L231">231</a> testListFiles(<strong class="jxr_keyword">null</strong>);
+<a class="jxr_linenumber" name="L232" href="#L232">232</a> }
+<a class="jxr_linenumber" name="L233" href="#L233">233</a>
+<a class="jxr_linenumber" name="L234" href="#L234">234</a> @Test
+<a class="jxr_linenumber" name="L235" href="#L235">235</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testListFilesPathNameRoot() <strong class="jxr_keyword">throws</strong> SocketException, IOException {
+<a class="jxr_linenumber" name="L236" href="#L236">236</a> testListFiles(<span class="jxr_string">"/"</span>);
+<a class="jxr_linenumber" name="L237" href="#L237">237</a> }
+<a class="jxr_linenumber" name="L238" href="#L238">238</a>
+<a class="jxr_linenumber" name="L239" href="#L239">239</a> @Test
+<a class="jxr_linenumber" name="L240" href="#L240">240</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testOpenClose() <strong class="jxr_keyword">throws</strong> SocketException, IOException {
+<a class="jxr_linenumber" name="L241" href="#L241">241</a> loginClient().disconnect();
+<a class="jxr_linenumber" name="L242" href="#L242">242</a> }
+<a class="jxr_linenumber" name="L243" href="#L243">243</a>
+<a class="jxr_linenumber" name="L244" href="#L244">244</a> @Test
+<a class="jxr_linenumber" name="L245" href="#L245">245</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testRetrieveFilePathNameRoot() <strong class="jxr_keyword">throws</strong> SocketException, IOException {
+<a class="jxr_linenumber" name="L246" href="#L246">246</a> retrieveFile(<span class="jxr_string">"/file.txt"</span>);
+<a class="jxr_linenumber" name="L247" href="#L247">247</a> }
+<a class="jxr_linenumber" name="L248" href="#L248">248</a> }
</pre>
<hr/>
<div id="footer">Copyright © 2001–2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ftp/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ftp/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ftp/package-frame.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.ftp</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.ftp</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ftp/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ftp/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ftp/package-summary.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.ftp</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.ftp</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
@@ -23,7 +23,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -121,7 +121,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ftp/parser/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ftp/parser/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ftp/parser/package-frame.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.ftp.parser</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.ftp.parser</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ftp/parser/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ftp/parser/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ftp/parser/package-summary.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.ftp.parser</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.ftp.parser</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
@@ -23,7 +23,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -171,7 +171,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/imap/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/imap/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/imap/package-frame.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.imap</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.imap</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/imap/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/imap/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/imap/package-summary.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.imap</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.imap</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
@@ -23,7 +23,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -81,7 +81,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/io/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/io/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/io/package-frame.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.io</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.io</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/io/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/io/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/io/package-summary.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.io</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.io</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
@@ -23,7 +23,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -86,7 +86,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/nntp/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/nntp/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/nntp/package-frame.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.nntp</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.nntp</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/nntp/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/nntp/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/nntp/package-summary.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.nntp</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.nntp</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
@@ -23,7 +23,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -81,7 +81,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ntp/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ntp/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ntp/package-frame.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.ntp</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.ntp</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ntp/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ntp/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/ntp/package-summary.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.ntp</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.ntp</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
@@ -23,7 +23,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -96,7 +96,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/package-frame.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/package-summary.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" />
</head>
@@ -23,7 +23,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -91,7 +91,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/pop3/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/pop3/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/pop3/package-frame.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.pop3</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.pop3</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/pop3/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/pop3/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/pop3/package-summary.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.pop3</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.pop3</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
@@ -23,7 +23,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -96,7 +96,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/smtp/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/smtp/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/smtp/package-frame.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.smtp</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.smtp</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/smtp/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/smtp/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/smtp/package-summary.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.smtp</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.smtp</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
@@ -23,7 +23,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -81,7 +81,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/telnet/TelnetClientFunctionalTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/telnet/TelnetClientFunctionalTest.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/telnet/TelnetClientFunctionalTest.html Sun Oct 18 14:48:36 2020
@@ -58,7 +58,7 @@
<a class="jxr_linenumber" name="L50" href="#L50">50</a> <strong class="jxr_keyword">boolean</strong> testresult = false;
<a class="jxr_linenumber" name="L51" href="#L51">51</a> tc1.connect(<span class="jxr_string">"rainmaker.wunderground.com"</span>, 3000);
<a class="jxr_linenumber" name="L52" href="#L52">52</a>
-<a class="jxr_linenumber" name="L53" href="#L53">53</a> <strong class="jxr_keyword">try</strong> (<strong class="jxr_keyword">final</strong> InputStream is = tc1.getInputStream();
+<a class="jxr_linenumber" name="L53" href="#L53">53</a> <strong class="jxr_keyword">try</strong> (<strong class="jxr_keyword">final</strong> InputStream is = tc1.getInputStream();
<a class="jxr_linenumber" name="L54" href="#L54">54</a> <strong class="jxr_keyword">final</strong> OutputStream os = tc1.getOutputStream()) {
<a class="jxr_linenumber" name="L55" href="#L55">55</a>
<a class="jxr_linenumber" name="L56" href="#L56">56</a> <strong class="jxr_keyword">boolean</strong> cont = waitForString(is, <span class="jxr_string">"Return to continue:"</span>, 30000);
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/telnet/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/telnet/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/telnet/package-frame.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.telnet</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.telnet</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/telnet/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/telnet/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/telnet/package-summary.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.telnet</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.telnet</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
@@ -23,7 +23,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -141,7 +141,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/tftp/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/tftp/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/tftp/package-frame.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.tftp</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.tftp</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/tftp/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/tftp/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/tftp/package-summary.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.tftp</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.tftp</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
@@ -23,7 +23,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -106,7 +106,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/time/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/time/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/time/package-frame.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.time</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.time</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/time/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/time/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/time/package-summary.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.time</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.time</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
@@ -23,7 +23,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -86,7 +86,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/util/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/util/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/util/package-frame.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.util</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.util</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/util/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/util/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/org/apache/commons/net/util/package-summary.html Sun Oct 18 14:48:36 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference Package org.apache.commons.net.util</title>
+ <title>Apache Commons Net 3.7.2 Reference Package org.apache.commons.net.util</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
@@ -23,7 +23,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -96,7 +96,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.1 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons Net 3.7.2 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
Modified: websites/production/commons/content/proper/commons-net/xref-test/overview-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-net/xref-test/overview-frame.html (original)
+++ websites/production/commons/content/proper/commons-net/xref-test/overview-frame.html Sun Oct 18 14:48:36 2020
@@ -4,11 +4,11 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Net 3.7.1 Reference</title>
+ <title>Apache Commons Net 3.7.2 Reference</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
</head>
<body>
- <h1 title="Apache Commons Net 3.7.1 Reference" class="bar"><strong>Apache Commons Net 3.7.1 Reference</strong></h1>
+ <h1 title="Apache Commons Net 3.7.2 Reference" class="bar"><strong>Apache Commons Net 3.7.2 Reference</strong></h1>
<div class="indexHeader"><span><a href="allclasses-frame.html" target="packageFrame">All Classes</a></span></div>
<div class="indexContainer">
<h2 title="Packages">Packages</h2>