You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ki...@apache.org on 2017/04/21 23:42:50 UTC

commons-numbers git commit: NUMBERS-23: add --allow-script-in-comments and fix logo URL

Repository: commons-numbers
Updated Branches:
  refs/heads/master 48c9522d8 -> 193b4f93d


NUMBERS-23: add --allow-script-in-comments and fix logo URL


Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/193b4f93
Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/193b4f93
Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/193b4f93

Branch: refs/heads/master
Commit: 193b4f93df0e11dc2602ebc5ea3bc2c4427df5e0
Parents: 48c9522
Author: Bruno P. Kinoshita <br...@yahoo.com.br>
Authored: Sat Apr 22 11:41:49 2017 +1200
Committer: Bruno P. Kinoshita <br...@yahoo.com.br>
Committed: Sat Apr 22 11:41:49 2017 +1200

----------------------------------------------------------------------
 .../apache/commons/numbers/fraction/ContinuedFraction.java    | 7 ++++++-
 pom.xml                                                       | 2 +-
 src/changes/changes.xml                                       | 3 +++
 src/site/site.xml                                             | 2 +-
 4 files changed, 11 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/193b4f93/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/ContinuedFraction.java
----------------------------------------------------------------------
diff --git a/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/ContinuedFraction.java b/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/ContinuedFraction.java
index a2e38a7..ebf447b 100644
--- a/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/ContinuedFraction.java
+++ b/commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/ContinuedFraction.java
@@ -24,11 +24,12 @@ import org.apache.commons.numbers.core.Precision;
  *
  * <p>
  * References:
+ * </p>
+ *
  * <ul>
  * <li><a href="http://mathworld.wolfram.com/ContinuedFraction.html">
  * Continued Fraction</a></li>
  * </ul>
- * </p>
  *
  */
 public abstract class ContinuedFraction {
@@ -91,6 +92,8 @@ public abstract class ContinuedFraction {
      * <p>
      * The implementation of this method is based on the modified Lentz algorithm as described
      * on page 18 ff. in:
+     * </p>
+     *
      * <ul>
      *   <li>
      *   I. J. Thompson,  A. R. Barnett. "Coulomb and Bessel Functions of Complex Arguments and Order."
@@ -98,6 +101,8 @@ public abstract class ContinuedFraction {
      *   http://www.fresco.org.uk/papers/Thompson-JCP64p490.pdf</a>
      *   </li>
      * </ul>
+     *
+     * <p>
      * <b>Note:</b> the implementation uses the terms a<sub>i</sub> and b<sub>i</sub> as defined in
      * <a href="http://mathworld.wolfram.com/ContinuedFraction.html">Continued Fraction @ MathWorld</a>.
      * </p>

http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/193b4f93/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 4485994..2758db7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -366,7 +366,7 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
-          <additionalparam>-Xdoclint:all -header '&lt;script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;'</additionalparam>
+          <additionalparam>-Xdoclint:all --allow-script-in-comments -header '&lt;script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;'</additionalparam>
           <!-- <aggregate>true</aggregate> -->
         </configuration>
       </plugin>

http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/193b4f93/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 06fdc65..fa158bb 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -56,6 +56,9 @@ This is the first release of Apache Commons Numbers.
 Apache Commons Numbers 1.0 contains the following modules:
 TBD
 ">
+      <action dev="kinow" type="fix" issue="NUMBERS-23">
+        mvn site won't compile due to javascript error
+      </action>
       <action dev="sushakov" type="fix" issue="NUMBERS-15">
         "BigFraction": Fixed overflow "doubleValue()" and "floatValue()".
       </action>

http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/193b4f93/src/site/site.xml
----------------------------------------------------------------------
diff --git a/src/site/site.xml b/src/site/site.xml
index c939d2c..52696ba 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -18,7 +18,7 @@
 <project name="Numbers">
   <bannerRight>
     <name>Apache Commons Numbers</name>
-    <src>/images/commons_numbers.small.png</src>
+    <src>/images/math.gif</src>
     <href>/index.html</href>
   </bannerRight>