Author: sebb
Date: Sat Feb 4 12:09:56 2017
New Revision: 1781661
URL: http://svn.apache.org/viewvc?rev=1781661&view=rev
Log:
Use https since it's available
Modified:
commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java
Modified:
commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java
URL:
http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java?rev=1781661&r1=1781660&r2=1781661&view=diff
==============================================================================
---
commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java
(original)
+++
commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java
Sat Feb 4 12:09:56 2017
@@ -396,11 +396,11 @@ public class DomainValidatorTest extends
Set<String> ianaTlds = new HashSet<String>(); // keep for comparison
with array contents
DomainValidator dv = DomainValidator.getInstance();
File txtFile = new File("target/tlds-alpha-by-domain.txt");
- long timestamp = download(txtFile,
"http://data.iana.org/TLD/tlds-alpha-by-domain.txt", 0L);
+ long timestamp = download(txtFile,
"https://data.iana.org/TLD/tlds-alpha-by-domain.txt", 0L);
final File htmlFile = new File("target/tlds-alpha-by-domain.html");
// N.B. sometimes the html file may be updated a day or so after the
txt file
// if the txt file contains entries not found in the html file, try
again in a day or two
- download(htmlFile,"http://www.iana.org/domains/root/db", timestamp);
+ download(htmlFile,"https://www.iana.org/domains/root/db", timestamp);
BufferedReader br = new BufferedReader(new FileReader(txtFile));
String line;