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 2020/01/18 16:33:20 UTC

[commons-csv] branch master updated (de07d75 -> 7d86ab0)

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

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


    from de07d75  Fix typos in site and test #53.
     new 680398e  Fix Checkstyle line length.
     new 7d86ab0  Prepare for the next release.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml                                            | 53 +---------------------
 .../java/org/apache/commons/csv/CSVFormat.java     |  5 +-
 src/site/site.xml                                  |  1 +
 src/site/xdoc/index.xml                            |  7 ++-
 4 files changed, 10 insertions(+), 56 deletions(-)


[commons-csv] 01/02: Fix Checkstyle line length.

Posted by gg...@apache.org.
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

commit 680398e759ff9e0159a1e89a22f452c6b3590b06
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 18 11:32:40 2020 -0500

    Fix Checkstyle line length.
---
 src/main/java/org/apache/commons/csv/CSVFormat.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java
index 0742c93..e304bcc 100644
--- a/src/main/java/org/apache/commons/csv/CSVFormat.java
+++ b/src/main/java/org/apache/commons/csv/CSVFormat.java
@@ -2112,9 +2112,8 @@ public final class CSVFormat implements Serializable {
     /**
      * Returns a new {@code CSVFormat} with the parser trimming behavior of the format set to the given value.
      *
-     * @param ignoreSurroundingSpaces
-     *            the parser trimming behavior, {@code true} to remove the surrounding spaces, {@code false} to leave the
-     *            spaces as is.
+     * @param ignoreSurroundingSpaces the parser trimming behavior, {@code true} to remove the surrounding spaces,
+     *        {@code false} to leave the spaces as is.
      * @return A new CSVFormat that is equal to this but with the specified trimming behavior.
      */
     public CSVFormat withIgnoreSurroundingSpaces(final boolean ignoreSurroundingSpaces) {


[commons-csv] 02/02: Prepare for the next release.

Posted by gg...@apache.org.
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

commit 7d86ab0cedf5925b69e985cb4465fdf333c3387c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 18 11:33:16 2020 -0500

    Prepare for the next release.
---
 pom.xml                 | 53 ++-----------------------------------------------
 src/site/site.xml       |  1 +
 src/site/xdoc/index.xml |  7 +++++--
 3 files changed, 8 insertions(+), 53 deletions(-)

diff --git a/pom.xml b/pom.xml
index 2ed591e..78b848b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,16 +20,13 @@
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-parent</artifactId>
-    <version>48</version>
+    <version>50</version>
   </parent>
   <artifactId>commons-csv</artifactId>
   <version>1.8-SNAPSHOT</version>
   <name>Apache Commons CSV</name>
   <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.
-  </description>
+  <description>The Apache Commons CSV library provides a simple interface for reading and writing CSV files of various types.</description>
 
   <dependencies>
     <dependency>
@@ -386,52 +383,6 @@ CSV files of various types.
   </reporting>
 
   <profiles>
-    <profile>
-      <id>setup-checkout</id>
-      <activation>
-        <file>
-          <missing>site-content</missing>
-        </file>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-antrun-plugin</artifactId>
-            <version>1.8</version>
-            <executions>
-              <execution>
-                <id>prepare-checkout</id>
-                <phase>pre-site</phase>
-                <goals>
-                  <goal>run</goal>
-                </goals>
-                <configuration>
-                  <tasks>
-                    <exec executable="svn">
-                      <arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}" />
-                    </exec>
-
-                    <exec executable="svn">
-                      <arg line="update --set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs" />
-                    </exec>
-
-                    <pathconvert pathsep=" " property="dirs">
-                      <dirset dir="${commons.scmPubCheckoutDirectory}" includes="*" />
-                    </pathconvert>
-                    <exec executable="svn">
-                      <arg line="update --set-depth infinity ${dirs}" />
-                    </exec>
-                  </tasks>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-
-
     <!-- Profile to build and run the benchmarks. Use 'mvn test -Pbenchmark', and add '-Dbenchmark=foo' to run only the foo benchmark -->
     <profile>
       <id>benchmark</id>
diff --git a/src/site/site.xml b/src/site/site.xml
index 66713a0..50e9587 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -39,6 +39,7 @@
       <item name="Issue Tracking"  href="/issue-tracking.html"/>
       <item name="Team"            href="/team.html"/>
       <item name="Javadoc"         href="/apidocs/index.html"/>
+      <item name="Javadoc 1.8"     href="https://javadoc.io/doc/org.apache.commons/commons-csv/1.8"/>
       <item name="Javadoc 1.7"     href="https://javadoc.io/doc/org.apache.commons/commons-csv/1.7"/>
       <item name="Javadoc 1.6"     href="https://javadoc.io/doc/org.apache.commons/commons-csv/1.6"/>
       <item name="Javadoc 1.5"     href="https://javadoc.io/doc/org.apache.commons/commons-csv/1.5"/>
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index 18023dd..5943b57 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -51,6 +51,8 @@ The Javadoc API documents are available online:
 </p>
 <ul>
   <li><a href="apidocs/index.html">Javadoc trunk</a></li>
+  <li><a href="https://javadoc.io/doc/org.apache.commons/commons-csv/1.8">Javadoc 1.8</a></li>
+  <li><a href="https://javadoc.io/doc/org.apache.commons/commons-csv/1.7">Javadoc 1.7</a></li>
   <li><a href="https://javadoc.io/doc/org.apache.commons/commons-csv/1.6">Javadoc 1.6</a></li>
   <li><a href="https://javadoc.io/doc/org.apache.commons/commons-csv/1.5">Javadoc 1.5</a></li>
   <li><a href="https://javadoc.io/doc/org.apache.commons/commons-csv/1.4">Javadoc 1.4</a></li>
@@ -67,7 +69,8 @@ The <a href="scm.html">git repository</a> can be
 <!-- ================================================== -->
 <section name="Releases">
 <ul>
-  <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="https://commons.apache.org/csv/download_csv.cgi">Apache Commons CSV 1.8 (mirrors)</a> requires Java 8</li>
+  <li><a href="https://archive.apache.org/dist/commons/csv/">Apache Commons CSV 1.7 (archives)</a> requires Java 8</li>
   <li><a href="https://archive.apache.org/dist/commons/csv/">Apache Commons CSV 1.6 (archives)</a> requires Java 7</li>
   <li><a href="https://archive.apache.org/dist/commons/csv/">Apache Commons CSV 1.5 (archives)</a> requires Java 7</li>
   <li><a href="https://archive.apache.org/dist/commons/csv/">Apache Commons CSV 1.4 (archives)</a> requires Java 6</li>
@@ -92,7 +95,7 @@ For previous releases, see the <a href="https://archive.apache.org/dist/commons/
   <pre>&lt;dependency&gt;
     &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
     &lt;artifactId&gt;commons-csv&lt;/artifactId&gt;
-    &lt;version&gt;1.7&lt;/version&gt;
+    &lt;version&gt;1.8&lt;/version&gt;
 &lt;/dependency&gt;</pre>
 </p>
 <p>