You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/07/04 14:00:25 UTC

[commons-csv] branch master updated: Use HTTPS links to Apache.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-csv.git


The following commit(s) were added to refs/heads/master by this push:
     new 7e66956  Use HTTPS links to Apache.
7e66956 is described below

commit 7e669566dfb9b6adb4746f1d709b802b075b6796
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Jul 4 10:00:21 2019 -0400

    Use HTTPS links to Apache.
---
 RELEASE-NOTES.txt                                  | 26 +++++++++++-----------
 pom.xml                                            |  2 +-
 src/site/xdoc/index.xml                            |  4 ++--
 src/site/xdoc/mail-lists.xml                       |  2 +-
 src/site/xdoc/user-guide.xml                       | 24 ++++++++++----------
 .../java/org/apache/commons/csv/CSVParserTest.java |  4 ++--
 6 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index 3c68614..7f34211 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -36,14 +36,14 @@ o CSV-237:  Update to Java 8. Thanks to Gary Gregory.
 o           Update tests from H2 1.4.198 to 1.4.199. Thanks to Gary Gregory.
 
 
-Historical list of changes: http://commons.apache.org/proper/commons-csv/changes-report.html
+Historical list of changes: https://commons.apache.org/proper/commons-csv/changes-report.html
 
 For complete information on Apache Commons CSV, including instructions on how to submit bug reports,
 patches, or suggestions for improvement, see the Apache Apache Commons CSV website:
 
-http://commons.apache.org/proper/commons-csv/
+https://commons.apache.org/proper/commons-csv/
 
-Download it from http://commons.apache.org/proper/commons-csv/download_csv.cgi
+Download it from https://commons.apache.org/proper/commons-csv/download_csv.cgi
 
 Have fun!
 -Apache Commons CSV team
@@ -150,12 +150,12 @@ o CSV-187: Update platform requirement from Java 6 to 7. Thanks to Gary Gregory.
 o CSV-201: Do not use RuntimeException in CSVParser.iterator().new Iterator() {...}.getNextRecord(). Thanks to Benedikt Ritter, Gary Gregory.
 
 
-Historical list of changes: http://commons.apache.org/proper/commons-csv/changes-report.html
+Historical list of changes: https://commons.apache.org/proper/commons-csv/changes-report.html
 
 For complete information on Apache Commons CSV, including instructions on how to submit bug reports,
 patches, or suggestions for improvement, see the Apache Apache Commons CSV website:
 
-http://commons.apache.org/proper/commons-csv/
+https://commons.apache.org/proper/commons-csv/
 
 Have fun!
 -Apache Commons CSV team
@@ -194,12 +194,12 @@ o CSV-181:  Make CSVPrinter.print(Object) GC-free. Thanks to Gary Gregory.
 o CSV-183:  Drop ferc.gov tests.  
 
 
-Historical list of changes: http://commons.apache.org/proper/commons-csv/changes-report.html
+Historical list of changes: https://commons.apache.org/proper/commons-csv/changes-report.html
 
 For complete information on Apache Commons CSV, including instructions on how to submit bug reports,
 patches, or suggestions for improvement, see the Apache Apache Commons CSV website:
 
-http://commons.apache.org/proper/commons-csv/
+https://commons.apache.org/proper/commons-csv/
 
 Have fun!
 -Apache Commons CSV team
@@ -286,12 +286,12 @@ o CSV-145:  CSVFormat.with* methods clear the header comments. Thanks to Frank U
 o CSV-156:  Incorrect Javadoc on QuoteMode.NONE. Thanks to Jason Steenstra-Pickens.
 
 
-Historical list of changes: http://commons.apache.org/proper/commons-csv/changes-report.html
+Historical list of changes: https://commons.apache.org/proper/commons-csv/changes-report.html
 
 For complete information on Apache Commons CSV, including instructions on how to submit bug reports,
 patches, or suggestions for improvement, see the Apache Apache Commons CSV website:
 
-http://commons.apache.org/proper/commons-csv/
+https://commons.apache.org/proper/commons-csv/
 
 Have fun!
 -Apache Commons CSV team
@@ -332,12 +332,12 @@ Changes:
 o [CSV-124] Improve toString() implementation of CSVRecord. Thanks to Kalyan. 
 o [CSV-134] Unified parameter validation. Thanks to wu wen. 
 
-Historical list of changes: http://commons.apache.org/proper/commons-csv/changes-report.html
+Historical list of changes: https://commons.apache.org/proper/commons-csv/changes-report.html
 
 For complete information on Apache Commons CSV, including instructions on how to submit bug reports,
 patches, or suggestions for improvement, see the Apache Apache Commons CSV website:
 
-http://commons.apache.org/proper/commons-csv/
+https://commons.apache.org/proper/commons-csv/
 
 Have fun!
 -Apache Commons CSV team
@@ -427,12 +427,12 @@ o CSV-26:   ExtendedBufferedReader does too much
 o CSV-27:   Decide whether to keep the csv.writer subpackage
 
 
-Historical list of changes: http://commons.apache.org/proper/commons-csv/changes-report.html
+Historical list of changes: https://commons.apache.org/proper/commons-csv/changes-report.html
 
 For complete information on Apache Commons CSV, including instructions on how to submit bug reports,
 patches, or suggestions for improvement, see the Apache Apache Commons CSV website:
 
-http://commons.apache.org/proper/commons-csv/
+https://commons.apache.org/proper/commons-csv/
 
 Have fun!
 -Apache Commons CSV team
diff --git a/pom.xml b/pom.xml
index 3fe5469..4be375a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
   <artifactId>commons-csv</artifactId>
   <version>1.8-SNAPSHOT</version>
   <name>Apache Commons CSV</name>
-  <url>http://commons.apache.org/proper/commons-csv/</url>
+  <url>https://commons.apache.org/proper/commons-csv/</url>
   <description>
 The Apache Commons CSV library provides a simple interface for reading and writing
 CSV files of various types.
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index 3b36458..9c42c79 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -67,7 +67,7 @@ The <a href="source-repository.html">git repository</a> can be
 <!-- ================================================== -->
 <section name="Releases">
 <ul>
-  <li><a href="http://commons.apache.org/csv/download_csv.cgi">Apache Commons CSV 1.7 (mirrors)</a> requires Java 8</li>
+  <li><a href="https://commons.apache.org/csv/download_csv.cgi">Apache Commons CSV 1.7 (mirrors)</a> requires Java 8</li>
   <li><a href="http://archive.apache.org/dist/commons/csv/">Apache Commons CSV 1.6 (archives)</a> requires Java 7</li>
   <li><a href="http://archive.apache.org/dist/commons/csv/">Apache Commons CSV 1.5 (archives)</a> requires Java 7</li>
   <li><a href="http://archive.apache.org/dist/commons/csv/">Apache Commons CSV 1.4 (archives)</a> requires Java 6</li>
@@ -78,7 +78,7 @@ The <a href="source-repository.html">git repository</a> can be
 </ul>
 <p>
 See the
-<a href="http://commons.apache.org/csv/download_csv.cgi">Download Page</a>
+<a href="https://commons.apache.org/csv/download_csv.cgi">Download Page</a>
 for the latest releases.<br />
 </p>
 <p>
diff --git a/src/site/xdoc/mail-lists.xml b/src/site/xdoc/mail-lists.xml
index 30670fa..d7bce4e 100644
--- a/src/site/xdoc/mail-lists.xml
+++ b/src/site/xdoc/mail-lists.xml
@@ -49,7 +49,7 @@ limitations under the License.
     <section name="Overview">
       <p>
         <a href="index.html">Apache Commons CSV</a> shares mailing lists with all the other
-        <a href="http://commons.apache.org/components.html">Commons Components</a>.
+        <a href="https://commons.apache.org/components.html">Commons Components</a>.
         To make it easier for people to only read messages related to components they are interested in,
         the convention in Commons is to prefix the subject line of messages with the component's name,
         for example:
diff --git a/src/site/xdoc/user-guide.xml b/src/site/xdoc/user-guide.xml
index af3e92f..9ccbf64 100644
--- a/src/site/xdoc/user-guide.xml
+++ b/src/site/xdoc/user-guide.xml
@@ -34,18 +34,18 @@ limitations under the License.
       The CSVFormat class provides some commonly used CSV variants:
       
       <dl>
-        <dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#DEFAULT">DEFAULT</a></dt><dd>Standard Comma Separated Value format, as for RFC4180 but allowing empty lines.</dd>
-        <dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#EXCEL">EXCEL</a></dt><dd>The Microsoft Excel CSV format.</dd>
-        <dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#INFORMIX_UNLOAD">INFORMIX_UNLOAD<sup>1.3</sup></a></dt><dd>Informix <a href="http://www.ibm.com/support/knowledgecenter/SSBJG3_2.5.0/com.ibm.gen_busug.doc/c_fgl_InOutSql_UNLOAD.htm">UNLOAD</a> format used by the <code>UNLOAD TO file_name</code> operation.</dd>
-        <dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#INFORMIX_UNLOAD_CSV">INFORMIX_UNLOAD_CSV<sup>1.3</sup></a></dt><dd>Informix <a href="http://www.ibm.com/support/knowledgecenter/SSBJG3_2.5.0/com.ibm.gen_busug.doc/c_fgl_InOutSql_UNLOAD.htm">CSV UNLOAD</a> format used by the <code>UNLOAD TO file_name</code> operation (escaping is disabled.)</dd>
-        <dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#MYSQL">MONGO_CSV<sup>1.7</sup></a></dt><dd>MongoDB CSV format used by the <code>mongoexport</code> operation.</dd>
-        <dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#MYSQL">MONGO_TSV<sup>1.7</sup></a></dt><dd>MongoDB TSV format used by the <code>mongoexport</code> operation.</dd>
-        <dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#MYSQL">MYSQL</a></dt><dd>The MySQL CSV format.</dd>
-        <dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#ORACLE">ORACLE<sup>1.6</sup></a></dt><dd>Default Oracle format used by the SQL*Loader utility.</dd>
-        <dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#POSTGRESSQL_CSV">POSTGRESSQL_CSV<sup>1.5</sup></a></dt><dd>Default PostgreSQL CSV format used by the COPY operation.</dd>
-        <dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#POSTGRESSQL_TEXT">POSTGRESSQL_TEXT<sup>1.5</sup></a></dt><dd>Default PostgreSQL text format used by the COPY operation.</dd>
-        <dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#RFC4180">RFC-4180</a></dt><dd>The RFC-4180 format defined by <a href="https://tools.ietf.org/html/rfc4180">RFC-4180</a>.</dd>
-        <dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#TDF">TDF</a></dt><dd>A tab delimited format.</dd>
+        <dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#DEFAULT">DEFAULT</a></dt><dd>Standard Comma Separated Value format, as for RFC4180 but allowing empty lines.</dd>
+        <dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#EXCEL">EXCEL</a></dt><dd>The Microsoft Excel CSV format.</dd>
+        <dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#INFORMIX_UNLOAD">INFORMIX_UNLOAD<sup>1.3</sup></a></dt><dd>Informix <a href="http://www.ibm.com/support/knowledgecenter/SSBJG3_2.5.0/com.ibm.gen_busug.doc/c_fgl_InOutSql_UNLOAD.htm">UNLOAD</a> format used by the <code>UNLOAD TO file_name</code> operation.</dd>
+        <dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#INFORMIX_UNLOAD_CSV">INFORMIX_UNLOAD_CSV<sup>1.3</sup></a></dt><dd>Informix <a href="http://www.ibm.com/support/knowledgecenter/SSBJG3_2.5.0/com.ibm.gen_busug.doc/c_fgl_InOutSql_UNLOAD.htm">CSV UNLOAD</a> format used by the <code>UNLOAD TO file_name</code> operation (escaping is disabled.)</dd>
+        <dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#MYSQL">MONGO_CSV<sup>1.7</sup></a></dt><dd>MongoDB CSV format used by the <code>mongoexport</code> operation.</dd>
+        <dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#MYSQL">MONGO_TSV<sup>1.7</sup></a></dt><dd>MongoDB TSV format used by the <code>mongoexport</code> operation.</dd>
+        <dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#MYSQL">MYSQL</a></dt><dd>The MySQL CSV format.</dd>
+        <dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#ORACLE">ORACLE<sup>1.6</sup></a></dt><dd>Default Oracle format used by the SQL*Loader utility.</dd>
+        <dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#POSTGRESSQL_CSV">POSTGRESSQL_CSV<sup>1.5</sup></a></dt><dd>Default PostgreSQL CSV format used by the COPY operation.</dd>
+        <dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#POSTGRESSQL_TEXT">POSTGRESSQL_TEXT<sup>1.5</sup></a></dt><dd>Default PostgreSQL text format used by the COPY operation.</dd>
+        <dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#RFC4180">RFC-4180</a></dt><dd>The RFC-4180 format defined by <a href="https://tools.ietf.org/html/rfc4180">RFC-4180</a>.</dd>
+        <dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#TDF">TDF</a></dt><dd>A tab delimited format.</dd>
       </dl>
 
       <subsection name="Example: Parsing an Excel CSV File">
diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java
index 8953e38..5319893 100644
--- a/src/test/java/org/apache/commons/csv/CSVParserTest.java
+++ b/src/test/java/org/apache/commons/csv/CSVParserTest.java
@@ -1012,7 +1012,7 @@ public class CSVParserTest {
 
     @Test(expected = IllegalArgumentException.class)
     public void testParserUrlNullCharsetFormat() throws Exception {
-        try (final CSVParser parser = CSVParser.parse(new URL("http://commons.apache.org"), null, CSVFormat.DEFAULT)) {
+        try (final CSVParser parser = CSVParser.parse(new URL("https://commons.apache.org"), null, CSVFormat.DEFAULT)) {
             Assert.fail("This test should have thrown an exception.");
         }
     }
@@ -1026,7 +1026,7 @@ public class CSVParserTest {
 
     @Test(expected = IllegalArgumentException.class)
     public void testParseUrlCharsetNullFormat() throws Exception {
-        try (final CSVParser parser = CSVParser.parse(new URL("http://commons.apache.org"), Charset.defaultCharset(), null)) {
+        try (final CSVParser parser = CSVParser.parse(new URL("https://commons.apache.org"), Charset.defaultCharset(), null)) {
             Assert.fail("This test should have thrown an exception.");
         }
     }