[ANNOUNCE] Apache Commons Lang 3.8.1 released!

2018-09-23 Thread Rob Tompkins
The Apache Commons community is happy to announce the availability of Apache
Commons Lang 3.8.1.

Apache Commons Lang provides helper utilities for the java.lang API, notably
String manipulation methods, basic numerical methods, object reflection,
concurrency, creation and serialization and System properties. Additionally it
contains basic enhancements to java.util.Date and a series of utilities
dedicated to help with building methods, such as hashCode, toString and equals.

For more details see the release notes at:
http://www.apache.org/dist/commons/lang/RELEASE-NOTES.txt 


More specifically, version 3.8.1 is a bug-fix release for the purpose of 
resolving “LANG-1419 Restore BundleSymbolicName
/ regression in version 3.8.0” (https://issues.apache.org/jira/browse/LANG-1419 
).

Distribution packages can be downloaded from:
https://commons.apache.org/proper/commons-lang/download_lang.cgi 


When downloading, please verify signatures using the KEYS file available at:
http://www.apache.org/dist/commons 

Maven artifacts are also available in the central Maven repository:


  org.apache.commons
  commons-lang3
  3.8.1


Best regards,
Rob Tompkins
on behalf of the Apache Commons community

Re: [VOTE] Release Apache Commons CSV 1.6 based on RC1

2018-09-23 Thread Sergio Fernández
+1 (non-binding)

On Wed, Sep 19, 2018, 05:31 Benedikt Ritter  wrote:

> Hi,
>
> we have fixed some bugs and added some features since Commons CSV 1.5 has
> been released, so I would like to release Commons CSV 1.6 based on RC1
>
> Commons CSV 1.6 is available for review here:
>   https://dist.apache.org/repos/dist/dev/commons/csv/1.6-RC1/ (r29508)
>
> The tag is here:
>
>
> https://git-wip-us.apache.org/repos/asf?p=commons-csv.git;a=tag;h=3c2d7919f325d1f046dff55e139455693cc68005
>
> The Maven Artifacts are here:
>
>
> https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/
>
> These are the Maven Artifacts and their hashes:
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-sources.jar.asc
> <
> https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6-sources.jar.asc
> >
> (SHA1: 5ca098877478f554085dace80ef4bf484ec422c0)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6.jar.asc
> <
> https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6.jar.asc
> >
> (SHA1: 2c637fa312b01e091b6bf5388bca4c40890b6f8a)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-test-sources.jar.asc
> <
> https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6-test-sources.jar.asc
> >
> (SHA1: 3ac363851526e57f0b833faf9ae58d93769df377)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6.jar
> <
> https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6.jar
> >
> (SHA1: 22b3c2f901af973a8ec4f24e80c8c0c77a600b79)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6.pom
> <
> https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6.pom
> >
> (SHA1: 7d6919d5b7f35a736631b37cf07c6e146e02e2d6)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-javadoc.jar
> <
> https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6-javadoc.jar
> >
> (SHA1: 1a912bc6e79af7903600cbc9ee7c365ee356c9af)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6.pom.asc
> <
> https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6.pom.asc
> >
> (SHA1: 122fd1dd76797a3df6e21de7269f65843ade912c)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-tests.jar
> <
> https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6-tests.jar
> >
> (SHA1: 25316661324eacc7f8f61a9f389cb9efe034e43f)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-sources.jar
> <
> https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6-sources.jar
> >
> (SHA1: 7163d5c8c70c71d32507583a3f6297302b32fa71)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-tests.jar.asc
> <
> https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6-tests.jar.asc
> >
> (SHA1: 0f148adef1676bb532170a6e4fffbbcf98f69dd5)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-test-sources.jar
> <
> https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6-test-sources.jar
> >
> (SHA1: 5c5d54b48c86d4972a9894dbf35edcdc5656930f)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-javadoc.jar.asc
> <
> https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/commons-csv-1.6-javadoc.jar.asc
> >
> (SHA1: 2f03131beeab5cf5c38e0b19e85bd0d8dfe14fd2)
>
> I have tested this with Java 8 using Maven 3.5.4.
>
> Details of changes since 1.1 are in the release notes:
>
>
> https://dist.apache.org/repos/dist/dev/commons/csv/1.6-RC1/RELEASE-NOTES.txt
>
>
> http://home.apache.org/~britter/commons/commons-csv-1.6-RC1/changes-report.html
>
> Site:
>   http://home.apache.org/~britter/commons/commons-csv-1.6-RC1/
> (note some *relative* links are broken and the 1.6 directories are not yet
> created - these will be OK once the site is deployed)
>
> Clirr Report (compared to 1.5):
>
>
> http://home.apache.org/~britter/commons/commons-csv-1.6-RC1/clirr-report.html
>
> RAT Report:
>
> http://home.apache.org/~britter/commons/commons-csv-1.6-RC1/rat-report.html
>
> KEYS:
>   https://www.apache.org/dist/commons/KEYS
>
> Please review this release candidate and vote. This vote will close no
> sooner than 72 hours from now, i.e. sometime after 14:30 CEST 22-September
> 2018
>
>   [ ] +1 Release these artifacts
>   [ ] +0 OK, but...
>   [ ] -0 OK, but really should fix...
>   [ ] -1 I oppose this release because...
>
> Thanks!
> Benedikt
>


Re: [VOTE] Release Apache Commons CSV 1.6 based on RC1

2018-09-23 Thread Bruno P. Kinoshita
Build passing OK with `mvn clean test site` on


Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 
2018-06-18T06:33:14+12:00)
Maven home: /opt/apache-maven-3.5.4
Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: 
/usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_NZ, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-34-generic", arch: "amd64", family: "unix"


Reports look good too. Looked at JIRA and changes reports too just to see what 
is included in this release, everything looks OK.

Signatures for dist area archives, and for maven artefacts look good.

Thanks for RM'ing.


>  [ X ] +1 Release these artifacts

Bruno





From: Benedikt Ritter 
To: Commons Developers List  
Sent: Sunday, 23 September 2018 9:11 PM
Subject: Re: [VOTE] Release Apache Commons CSV 1.6 based on RC1



This vote is still pending. Please review the RC and cast your vote.

Thank you,
Benedikt

Am Mi., 19. Sep. 2018 um 14:31 Uhr schrieb Benedikt Ritter <
brit...@apache.org>:


> Hi,
>
> we have fixed some bugs and added some features since Commons CSV 1.5 has
> been released, so I would like to release Commons CSV 1.6 based on RC1
>
> Commons CSV 1.6 is available for review here:
>  https://dist.apache.org/repos/dist/dev/commons/csv/1.6-RC1/ (r29508)
>
> The tag is here:
>
> https://git-wip-us.apache.org/repos/asf?p=commons-csv.git;a=tag;h=3c2d7919f325d1f046dff55e139455693cc68005
>
> The Maven Artifacts are here:
>
> https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/
>
> These are the Maven Artifacts and their hashes:
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-sources.jar.asc
> 
> (SHA1: 5ca098877478f554085dace80ef4bf484ec422c0)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6.jar.asc
> 
> (SHA1: 2c637fa312b01e091b6bf5388bca4c40890b6f8a)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-test-sources.jar.asc
> 
> (SHA1: 3ac363851526e57f0b833faf9ae58d93769df377)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6.jar
> 
> (SHA1: 22b3c2f901af973a8ec4f24e80c8c0c77a600b79)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6.pom
> 
> (SHA1: 7d6919d5b7f35a736631b37cf07c6e146e02e2d6)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-javadoc.jar
> 
> (SHA1: 1a912bc6e79af7903600cbc9ee7c365ee356c9af)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6.pom.asc
> 
> (SHA1: 122fd1dd76797a3df6e21de7269f65843ade912c)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-tests.jar
> 
> (SHA1: 25316661324eacc7f8f61a9f389cb9efe034e43f)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-sources.jar
> 
> (SHA1: 7163d5c8c70c71d32507583a3f6297302b32fa71)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-tests.jar.asc
> 
> (SHA1: 0f148adef1676bb532170a6e4fffbbcf98f69dd5)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-test-sources.jar
> 
> (SHA1: 5c5d54b48c86d4972a9894dbf35edcdc5656930f)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-javadoc.jar.asc
> 
> (SHA1: 2f03131beeab5cf5c38e0b19e85bd0d8dfe14fd2)
>
> I have tested this with Java 8 using Maven 3.5.4.
>
> Details of changes since 1.1 are in the release notes:
>
> https://dist.apache.org/repos/dist/dev/commons/csv/1.6-RC1/RELEASE-NOTES.txt
>
> 

[GitHub] asfgit closed pull request #13: GEOMETRY-20

2018-09-23 Thread GitBox
asfgit closed pull request #13: GEOMETRY-20
URL: https://github.com/apache/commons-geometry/pull/13
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/Vector.java
 
b/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/Vector.java
index b37c4ea..043 100644
--- 
a/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/Vector.java
+++ 
b/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/Vector.java
@@ -36,13 +36,6 @@
  */
 V getZero();
 
-/** Get the L1 norm for the vector. This is defined as the
- * sum of the absolute values of all vector components.
- * @see http://mathworld.wolfram.com/L1-Norm.html;>L1 Norm
- * @return L1 norm for the vector
- */
-double getNorm1();
-
 /** Get the L2 norm (commonly known as the Euclidean norm) for 
the vector.
  * This corresponds to the common notion of vector magnitude or length and
  * is defined as the square root of the sum of the squares of all vector 
components.
@@ -58,13 +51,6 @@
  */
 double getNormSq();
 
-/** Get the L norm for the vector. This is defined as the
- * maximum of the absolute values of all vector components.
- * @see http://mathworld.wolfram.com/L-Infinity-Norm.html;>L 
Norm
- * @return L norm for the vector
- */
-double getNormInf();
-
 /** Returns a vector with the same direction but with the given
  * norm. This is equivalent to calling {@code 
vec.normalize().scalarMultiply(mag)}
  * but without the intermediate vector.
@@ -117,32 +103,12 @@
  */
 V scalarMultiply(double a);
 
-/** Compute the distance between the instance and another vector according 
to the L1 norm.
- * Calling this method is equivalent to calling:
- * q.subtract(p).getNorm1() except that no intermediate
- * vector is built
- * @see #getNorm1()
- * @param v second vector
- * @return the distance between the instance and p according to the 
L1 norm
- */
-double distance1(V v);
-
 /** Compute the distance between the instance and another vector.
  * @param v second vector
  * @return the distance between the instance and v
  */
 double distance(V v);
 
-/** Compute the distance between the instance and another vector according 
to the L norm.
- * Calling this method is equivalent to calling:
- * q.subtract(p).getNormInf() except that no intermediate
- * vector is built
- * @see #getNormInf()
- * @param v second vector
- * @return the distance between the instance and p according to the 
L norm
- */
-double distanceInf(V v);
-
 /** Compute the square of the distance between the instance and another 
vector.
  * Calling this method is equivalent to calling:
  * q.subtract(p).getNormSq() except that no intermediate
diff --git 
a/commons-geometry-enclosing/src/main/java/org/apache/commons/geometry/euclidean/threed/enclosing/SphereGenerator.java
 
b/commons-geometry-enclosing/src/main/java/org/apache/commons/geometry/euclidean/threed/enclosing/SphereGenerator.java
index b0ada02..091 100644
--- 
a/commons-geometry-enclosing/src/main/java/org/apache/commons/geometry/euclidean/threed/enclosing/SphereGenerator.java
+++ 
b/commons-geometry-enclosing/src/main/java/org/apache/commons/geometry/euclidean/threed/enclosing/SphereGenerator.java
@@ -21,6 +21,7 @@
 
 import org.apache.commons.geometry.enclosing.EnclosingBall;
 import org.apache.commons.geometry.enclosing.SupportBallGenerator;
+import org.apache.commons.geometry.euclidean.threed.Cartesian3D;
 import org.apache.commons.geometry.euclidean.threed.Plane;
 import org.apache.commons.geometry.euclidean.threed.Point3D;
 import org.apache.commons.geometry.euclidean.twod.Point2D;
@@ -53,7 +54,7 @@
 
 // delegate to 2D disk generator
 final Plane p = new Plane(vA, vB, vC,
-  1.0e-10 * 
(vA.asVector().getNorm1() + vB.asVector().getNorm1() + 
vC.asVector().getNorm1()));
+  1.0e-10 * (norm1(vA) + 
norm1(vB) + norm1(vC)));
 final EnclosingBall disk =
 new 
DiskGenerator().ballOnSupport(Arrays.asList(p.toSubSpace(vA),

 p.toSubSpace(vB),
@@ -149,4 +150,13 @@ private BigFraction minor(final BigFraction[] c1, final 
BigFraction[] c2, final
 add(c2[3].multiply(c3[2]).multiply(c1[1].subtract(c1[0])));
 }
 
+/** Compute the L1 vector norm for the given set of coordinates.
+ * This is 

Re: [VOTE] Release Apache Commons CSV 1.6 based on RC1

2018-09-23 Thread Benedikt Ritter
This vote is still pending. Please review the RC and cast your vote.

Thank you,
Benedikt

Am Mi., 19. Sep. 2018 um 14:31 Uhr schrieb Benedikt Ritter <
brit...@apache.org>:

> Hi,
>
> we have fixed some bugs and added some features since Commons CSV 1.5 has
> been released, so I would like to release Commons CSV 1.6 based on RC1
>
> Commons CSV 1.6 is available for review here:
>   https://dist.apache.org/repos/dist/dev/commons/csv/1.6-RC1/ (r29508)
>
> The tag is here:
>
> https://git-wip-us.apache.org/repos/asf?p=commons-csv.git;a=tag;h=3c2d7919f325d1f046dff55e139455693cc68005
>
> The Maven Artifacts are here:
>
> https://repository.apache.org/content/repositories/orgapachecommons-1380/org/apache/commons/commons-csv/1.6/
>
> These are the Maven Artifacts and their hashes:
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-sources.jar.asc
> 
> (SHA1: 5ca098877478f554085dace80ef4bf484ec422c0)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6.jar.asc
> 
> (SHA1: 2c637fa312b01e091b6bf5388bca4c40890b6f8a)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-test-sources.jar.asc
> 
> (SHA1: 3ac363851526e57f0b833faf9ae58d93769df377)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6.jar
> 
> (SHA1: 22b3c2f901af973a8ec4f24e80c8c0c77a600b79)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6.pom
> 
> (SHA1: 7d6919d5b7f35a736631b37cf07c6e146e02e2d6)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-javadoc.jar
> 
> (SHA1: 1a912bc6e79af7903600cbc9ee7c365ee356c9af)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6.pom.asc
> 
> (SHA1: 122fd1dd76797a3df6e21de7269f65843ade912c)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-tests.jar
> 
> (SHA1: 25316661324eacc7f8f61a9f389cb9efe034e43f)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-sources.jar
> 
> (SHA1: 7163d5c8c70c71d32507583a3f6297302b32fa71)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-tests.jar.asc
> 
> (SHA1: 0f148adef1676bb532170a6e4fffbbcf98f69dd5)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-test-sources.jar
> 
> (SHA1: 5c5d54b48c86d4972a9894dbf35edcdc5656930f)
> /org/apache/commons/commons-csv/1.6/commons-csv-1.6-javadoc.jar.asc
> 
> (SHA1: 2f03131beeab5cf5c38e0b19e85bd0d8dfe14fd2)
>
> I have tested this with Java 8 using Maven 3.5.4.
>
> Details of changes since 1.1 are in the release notes:
>
> https://dist.apache.org/repos/dist/dev/commons/csv/1.6-RC1/RELEASE-NOTES.txt
>
> http://home.apache.org/~britter/commons/commons-csv-1.6-RC1/changes-report.html
>
> Site:
>   http://home.apache.org/~britter/commons/commons-csv-1.6-RC1/
> (note some *relative* links are broken and the 1.6 directories are not yet
> created - these will be OK once the site is deployed)
>
> Clirr Report (compared to 1.5):
>
> http://home.apache.org/~britter/commons/commons-csv-1.6-RC1/clirr-report.html
>
> RAT Report:
>
> http://home.apache.org/~britter/commons/commons-csv-1.6-RC1/rat-report.html
>
> KEYS:
>   https://www.apache.org/dist/commons/KEYS
>
> Please review this release candidate and vote. This vote will close no
> sooner than 72 hours from now, i.e. sometime after 14:30 CEST 22-September
> 2018
>
>   [ ] +1 Release these artifacts
>   [ ] +0 OK, but...
>   [ ] -0 OK, but really should fix...
>   [ ] -1 I oppose this release because...
>
> Thanks!
> Benedikt
>