You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2020/02/16 13:29:33 UTC

[commons-numbers] branch master updated (52877dd -> 81c2fd3)

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

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


    from 52877dd  Exclude examples module from rat check using wildcards in .gitignore.
     new c4817e4  Reverse actual and expected for the assertion.
     new 81c2fd3  Remove unused aggregate configuration from javadoc plugin.

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:
 .../test/java/org/apache/commons/numbers/complex/ComplexTest.java | 8 ++++----
 pom.xml                                                           | 2 --
 2 files changed, 4 insertions(+), 6 deletions(-)


[commons-numbers] 01/02: Reverse actual and expected for the assertion.

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit c4817e4f41c1790aea541c048453d8539f26e308
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sun Feb 16 13:26:52 2020 +0000

    Reverse actual and expected for the assertion.
---
 .../test/java/org/apache/commons/numbers/complex/ComplexTest.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexTest.java b/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexTest.java
index b66b872..09d0a6d 100644
--- a/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexTest.java
+++ b/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexTest.java
@@ -2024,13 +2024,13 @@ public class ComplexTest {
     public void testSinCosLinearAssumptions() {
         // Are cos and sin linear around zero?
         // If cos is still 1 then since d(sin) dx = cos then sin is linear.
-        Assertions.assertEquals(Math.cos(Double.MIN_NORMAL), 1.0);
-        Assertions.assertEquals(Math.sin(Double.MIN_NORMAL), Double.MIN_NORMAL);
+        Assertions.assertEquals(1.0, Math.cos(Double.MIN_NORMAL));
+        Assertions.assertEquals(Double.MIN_NORMAL, Math.sin(Double.MIN_NORMAL));
 
         // Are cosh and sinh linear around zero?
         // If cosh is still 1 then since d(sinh) dx = cosh then sinh is linear.
-        Assertions.assertEquals(Math.cosh(Double.MIN_NORMAL), 1.0);
-        Assertions.assertEquals(Math.sinh(Double.MIN_NORMAL), Double.MIN_NORMAL);
+        Assertions.assertEquals(1.0, Math.cosh(Double.MIN_NORMAL));
+        Assertions.assertEquals(Double.MIN_NORMAL, Math.sinh(Double.MIN_NORMAL));
     }
 
     /**


[commons-numbers] 02/02: Remove unused aggregate configuration from javadoc plugin.

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 81c2fd3d763afdae3cadc711b220e6ded9f7fd36
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sun Feb 16 13:29:29 2020 +0000

    Remove unused aggregate configuration from javadoc plugin.
---
 pom.xml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index e0665f5..1d73f85 100644
--- a/pom.xml
+++ b/pom.xml
@@ -335,7 +335,6 @@
         <configuration>
           <!--  Enable MathJax -->
           <additionalOptions>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '&lt;script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/${numbers.mathjax.version}/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;'</additionalOptions>
-          <!-- <aggregate>true</aggregate> -->
         </configuration>
       </plugin>
       <plugin>
@@ -463,7 +462,6 @@
         <configuration>
           <!--  Enable MathJax -->
           <additionalOptions>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '&lt;script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/${numbers.mathjax.version}/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;'</additionalOptions>
-          <!-- <aggregate>true</aggregate> -->
         </configuration>
       </plugin>
     </plugins>