You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2022/01/25 00:37:59 UTC

[commons-math] 07/11: Unused "import".

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

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

commit 134d731a6bc048bfe29754fb294ad64b12b67827
Author: Gilles Sadowski <gi...@gmail.com>
AuthorDate: Mon Jan 24 18:12:52 2022 +0100

    Unused "import".
---
 .../apache/commons/math4/legacy/ml/clustering/Clusterer.java  | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ml/clustering/Clusterer.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ml/clustering/Clusterer.java
index e1c4266..055b7b1 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ml/clustering/Clusterer.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ml/clustering/Clusterer.java
@@ -19,8 +19,6 @@ package org.apache.commons.math4.legacy.ml.clustering;
 import java.util.Collection;
 import java.util.List;
 
-import org.apache.commons.math4.legacy.exception.ConvergenceException;
-import org.apache.commons.math4.legacy.exception.MathIllegalArgumentException;
 import org.apache.commons.math4.legacy.ml.distance.DistanceMeasure;
 
 /**
@@ -48,10 +46,11 @@ public abstract class Clusterer<T extends Clusterable> {
      *
      * @param points the set of {@link Clusterable} instances
      * @return a {@link List} of clusters
-     * @throws MathIllegalArgumentException if points are null or the number of
-     *   data points is not compatible with this clusterer
-     * @throws ConvergenceException if the algorithm has not yet converged after
-     *   the maximum number of iterations has been exceeded
+     * @throws IllegalArgumentException if points are null or the number of
+     * data points is not compatible with this clusterer.
+     * @throws org.apache.commons.math4.legacy.exception.ConvergenceException
+     * if the algorithm has not yet converged after the maximum number of
+     * iterations has been exceeded.
      */
     public abstract List<? extends Cluster<T>> cluster(Collection<T> points);