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
The following commit(s) were added to refs/heads/master by this push: new 787d42e MATH-1595: Interface is not used anymore. 787d42e is described below commit 787d42ef07e6dc8d7aa47a9156d851281a7f2954 Author: Gilles Sadowski <gillese...@gmail.com> AuthorDate: Tue Jun 1 13:42:25 2021 +0200 MATH-1595: Interface is not used anymore. --- .../math4/legacy/random/RandomVectorGenerator.java | 32 ---------------------- .../commons/math4/legacy/random/package-info.java | 3 +- 2 files changed, 1 insertion(+), 34 deletions(-) diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/RandomVectorGenerator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/RandomVectorGenerator.java deleted file mode 100644 index 62a875c..0000000 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/RandomVectorGenerator.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.commons.math4.legacy.random; - - -/** This interface represents a random generator for whole vectors. - * - * @since 1.2 - */ -public interface RandomVectorGenerator { - - /** Generate a random vector. - * @return a random vector as an array of double. - */ - double[] nextVector(); - -} diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/package-info.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/package-info.java index 4d802c0..7885a2e 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/package-info.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/package-info.java @@ -26,8 +26,7 @@ * source of randomness that provides sequences of uniformly distributed integers. * </p> * <p> - * Others are sources of pseudo-randomness that directly produce "compound" types - * such as {@link org.apache.commons.math4.legacy.random.RandomVectorGenerator random vectors}. + * Others are sources of pseudo-randomness that directly produce "compound" types. * </p> */ package org.apache.commons.math4.legacy.random;