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 2021/08/20 13:00:28 UTC

[commons-math] branch master updated (7813ecb -> 7ee70ef)

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-math.git.


    from 7813ecb  Update plugin order in pom
     new 09dd29e  Sonar fix: restore thread interrupted state
     new 7ee70ef  Javadoc typo

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:
 .../commons/math4/examples/sofm/tsp/TravellingSalesmanSolver.java       | 2 ++
 .../math4/legacy/analysis/interpolation/InterpolatingMicrosphere.java   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

[commons-math] 02/02: Javadoc typo

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-math.git

commit 7ee70ef4748507a3f8dd67dc57c775f87732a87c
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Fri Aug 20 13:43:59 2021 +0100

    Javadoc typo
---
 .../math4/legacy/analysis/interpolation/InterpolatingMicrosphere.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/interpolation/InterpolatingMicrosphere.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/interpolation/InterpolatingMicrosphere.java
index 79fc28a..88f5c02 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/interpolation/InterpolatingMicrosphere.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/interpolation/InterpolatingMicrosphere.java
@@ -51,7 +51,7 @@ public class InterpolatingMicrosphere {
     private final double background;
 
     /**
-     * Create an unitialiazed sphere.
+     * Create an uninitialized sphere.
      * Sub-classes are responsible for calling the {@code add(double[]) add}
      * method in order to initialize all the sphere's facets.
      *

[commons-math] 01/02: Sonar fix: restore thread interrupted state

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-math.git

commit 09dd29e56d8ca8f508a29006be5523794ea6c4e9
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Fri Aug 20 13:38:10 2021 +0100

    Sonar fix: restore thread interrupted state
---
 .../commons/math4/examples/sofm/tsp/TravellingSalesmanSolver.java       | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/commons-math-examples/examples-sofm/tsp/src/main/java/org/apache/commons/math4/examples/sofm/tsp/TravellingSalesmanSolver.java b/commons-math-examples/examples-sofm/tsp/src/main/java/org/apache/commons/math4/examples/sofm/tsp/TravellingSalesmanSolver.java
index 006bc0b..478310d 100644
--- a/commons-math-examples/examples-sofm/tsp/src/main/java/org/apache/commons/math4/examples/sofm/tsp/TravellingSalesmanSolver.java
+++ b/commons-math-examples/examples-sofm/tsp/src/main/java/org/apache/commons/math4/examples/sofm/tsp/TravellingSalesmanSolver.java
@@ -124,6 +124,8 @@ public final class TravellingSalesmanSolver {
                 f.get();
             }
         } catch (InterruptedException | ExecutionException e) {
+            // Restore interrupted state...
+            Thread.currentThread().interrupt();
             throw new RuntimeException(e);
         }
         // Terminate all threads.