[commons-jexl] branch master updated: JEXL-348: unit test, same as JEXL-346
This is an automated email from the ASF dual-hosted git repository. henrib pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-jexl.git The following commit(s) were added to refs/heads/master by this push: new 0028d9a JEXL-348: unit test, same as JEXL-346 0028d9a is described below commit 0028d9a5ae54046de8edcecd6aa11fc43e61f558 Author: henrib AuthorDate: Wed Jun 2 08:52:35 2021 +0200 JEXL-348: unit test, same as JEXL-346 --- .../org/apache/commons/jexl3/ContextNamespaceTest.java | 18 ++ 1 file changed, 18 insertions(+) diff --git a/src/test/java/org/apache/commons/jexl3/ContextNamespaceTest.java b/src/test/java/org/apache/commons/jexl3/ContextNamespaceTest.java index fb928cb..cc397a8 100644 --- a/src/test/java/org/apache/commons/jexl3/ContextNamespaceTest.java +++ b/src/test/java/org/apache/commons/jexl3/ContextNamespaceTest.java @@ -134,6 +134,24 @@ public class ContextNamespaceTest extends JexlTestCase { Assert.assertEquals(169, result); } +public static class Ns348 { +public static int func(int y) { return 42 * y;} +} + +@Test +public void testNamespace348() throws Exception { +JexlContext ctxt = new MapContext(); +Map ns = new HashMap(); +ns.put("ns", Ns348.class); +String src = "empty(x) ? ns:func(y) : z"; +final JexlEngine jexl = new JexlBuilder().safe(false).namespaces(ns).create(); +final JexlScript script = jexl.createScript(src, "x", "y", "z"); +Object result = script.execute(ctxt, null, 1, 169); +Assert.assertEquals(42, result); +result = script.execute(ctxt, "42", 1, 169); +Assert.assertEquals(169, result); +} + @Test public void testNamespacePragmaString() throws Exception { final JexlEngine jexl = new JexlBuilder().create();
[commons-math] 02/02: MATH-1598: Class is not used anymore within "Commons Math".
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 536ee3f6450db46f6aaf603d4e6392e0ff92d074 Author: Gilles Sadowski AuthorDate: Wed Jun 2 03:26:14 2021 +0200 MATH-1598: Class is not used anymore within "Commons Math". Functionality is available from "Commons RNG". --- .../legacy/random/UniformRandomGenerator.java | 58 -- .../legacy/random/UniformRandomGeneratorTest.java | 40 --- 2 files changed, 98 deletions(-) diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/UniformRandomGenerator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/UniformRandomGenerator.java deleted file mode 100644 index a8ef515..000 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/UniformRandomGenerator.java +++ /dev/null @@ -1,58 +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; - -import org.apache.commons.math4.legacy.core.jdkmath.AccurateMath; -import org.apache.commons.rng.UniformRandomProvider; - -/** - * This class implements a normalized uniform random generator. - * - * - * It generates values from a uniform distribution with mean - * equal to 0 and standard deviation equal to 1. - * Generated values fall in the range \( [-\sqrt{3}, +\sqrt{3}] \). - * - * - * @since 1.2 - */ -public class UniformRandomGenerator implements NormalizedRandomGenerator { -/** Square root of three. */ -private static final double SQRT3 = AccurateMath.sqrt(3); -/** Underlying generator. */ -private final UniformRandomProvider generator; - -/** - * Creates a new generator. - * - * @param generator Underlying random generator. - */ -public UniformRandomGenerator(UniformRandomProvider generator) { -this.generator = generator; -} - -/** - * Generates a random scalar with zero mean and unit standard deviation. - * - * @return a random scalar in the range \( [-\sqrt{3}, +\sqrt{3}] \). - */ -@Override -public double nextNormalizedDouble() { -return SQRT3 * (2 * generator.nextDouble() - 1); -} -} diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/random/UniformRandomGeneratorTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/random/UniformRandomGeneratorTest.java deleted file mode 100644 index 86a5efb..000 --- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/random/UniformRandomGeneratorTest.java +++ /dev/null @@ -1,40 +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; - -import org.apache.commons.rng.UniformRandomProvider; -import org.apache.commons.rng.simple.RandomSource; -import org.apache.commons.math4.legacy.stat.StatUtils; -import org.junit.Assert; -import org.junit.Test; - - -public class UniformRandomGeneratorTest { - -@Test -public void testMeanAndStandardDeviation() { -final UniformRandomProvider rg = RandomSource.create(RandomSource.ISAAC, 17399225432L); -UniformRandomGenerator generator = new UniformRandomGenerator(rg); -double[] sample = new double[1]; -for (int i = 0; i < sample.length; ++i) { -sample[i] = generator.nextNormali
[commons-math] 01/02: MATH-1601: Simplified and more robust API.
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 456de1bf98e87d18588fe76b623b5ed1bd4d715b Author: Gilles Sadowski AuthorDate: Wed Jun 2 02:53:26 2021 +0200 MATH-1601: Simplified and more robust API. Factory methods ensure correct use (removed dependency on "NormalizedRandomGenerator"). --- .../linear/RectangularCholeskyDecomposition.java | 2 +- .../random/CorrelatedRandomVectorGenerator.java| 184 -- .../legacy/random/CorrelatedVectorFactory.java | 163 .../CorrelatedRandomVectorGeneratorTest.java | 208 - .../legacy/random/CorrelatedVectorFactoryTest.java | 172 + .../GLSMultipleLinearRegressionTest.java | 38 +--- 6 files changed, 346 insertions(+), 421 deletions(-) diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RectangularCholeskyDecomposition.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RectangularCholeskyDecomposition.java index 6614cf1..68882a5 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RectangularCholeskyDecomposition.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RectangularCholeskyDecomposition.java @@ -29,7 +29,7 @@ import org.apache.commons.math4.legacy.core.jdkmath.AccurateMath; * is that rows/columns may be permuted (hence the rectangular shape instead * of the traditional triangular shape) and there is a threshold to ignore * small diagonal elements. This is used for example to generate {@link - * org.apache.commons.math4.legacy.random.CorrelatedRandomVectorGenerator correlated + * org.apache.commons.math4.legacy.random.CorrelatedVectorFactory correlated * random n-dimensions vectors} in a p-dimension subspace (p < n). * In other words, it allows generating random vectors from a covariance * matrix that is only positive semidefinite, and not positive definite. diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/CorrelatedRandomVectorGenerator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/CorrelatedRandomVectorGenerator.java deleted file mode 100644 index 789c05a..000 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/CorrelatedRandomVectorGenerator.java +++ /dev/null @@ -1,184 +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; - -import java.util.function.Supplier; - -import org.apache.commons.math4.legacy.exception.DimensionMismatchException; -import org.apache.commons.math4.legacy.linear.RealMatrix; -import org.apache.commons.math4.legacy.linear.RectangularCholeskyDecomposition; - -/** - * Generates vectors with with correlated components. - * - * Random vectors with correlated components are built by combining - * the uncorrelated components of another random vector in such a way that - * the resulting correlations are the ones specified by a positive - * definite covariance matrix. - * The main use for correlated random vector generation is for Monte-Carlo - * simulation of physical problems with several variables, for example to - * generate error vectors to be added to a nominal vector. A particularly - * interesting case is when the generated vector should be drawn from a http://en.wikipedia.org/wiki/Multivariate_normal_distribution";> - * Multivariate Normal Distribution. The approach using a Cholesky - * decomposition is quite usual in this case. However, it can be extended - * to other cases as long as the underlying random generator provides - * {@link NormalizedRandomGenerator normalized values} like - * {@link UniformRandomGenerator}. - * Sometimes, the covariance matrix for a given simulation is not - * strictly positive definite. This means that the correlations are - * not all independent from each other. In this case, however, the non - * strictly positive elements found during the Cholesky decomposition - * of the covariance matrix should not be
[commons-math] branch master updated (8afd815 -> 536ee3f)
This is an automated email from the ASF dual-hosted git repository. erans pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/commons-math.git. from 8afd815 Typo (Javadoc). new 456de1b MATH-1601: Simplified and more robust API. new 536ee3f MATH-1598: Class is not used anymore within "Commons Math". 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: .../linear/RectangularCholeskyDecomposition.java | 2 +- .../random/CorrelatedRandomVectorGenerator.java| 184 -- .../legacy/random/CorrelatedVectorFactory.java | 163 .../legacy/random/UniformRandomGenerator.java | 58 -- .../CorrelatedRandomVectorGeneratorTest.java | 208 - .../legacy/random/CorrelatedVectorFactoryTest.java | 172 + .../legacy/random/UniformRandomGeneratorTest.java | 40 .../GLSMultipleLinearRegressionTest.java | 38 +--- 8 files changed, 346 insertions(+), 519 deletions(-) delete mode 100644 commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/CorrelatedRandomVectorGenerator.java create mode 100644 commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/CorrelatedVectorFactory.java delete mode 100644 commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/UniformRandomGenerator.java delete mode 100644 commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/random/CorrelatedRandomVectorGeneratorTest.java create mode 100644 commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/random/CorrelatedVectorFactoryTest.java delete mode 100644 commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/random/UniformRandomGeneratorTest.java
[commons-dbcp] 02/02: Bump commons-pool2 from 2.9.0 to 2.10.0.
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-dbcp.git commit 0075f5b725143d12803fd14dfcd424bcffe04776 Author: Gary Gregory AuthorDate: Tue Jun 1 19:48:48 2021 -0400 Bump commons-pool2 from 2.9.0 to 2.10.0. --- pom.xml | 2 +- src/changes/changes.xml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 83b285f..47b6627 100644 --- a/pom.xml +++ b/pom.xml @@ -324,7 +324,7 @@ 3.1.2 3.3.0 -2.9.0 +2.10.0 0.15.3 0.8.7 diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 0130ac9..80831e3 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -168,6 +168,9 @@ The type attribute can be add,update,fix,remove. Bump org.jboss:jboss-transaction-spi from 7.6.0.Final to 7.6.1.Final. + +Bump commons-pool2 from 2.9.0 to 2.10.0. +
[commons-dbcp] branch master updated (137f82c -> 0075f5b)
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/commons-dbcp.git. from 137f82c Remove obsolete Ant comment. new c6d5cd9 Remove dead inline comments. new 0075f5b Bump commons-pool2 from 2.9.0 to 2.10.0. 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: pom.xml | 2 +- src/changes/changes.xml | 3 +++ .../apache/commons/dbcp2/datasources/InstanceKeyDataSource.java | 9 - 3 files changed, 4 insertions(+), 10 deletions(-)
[commons-dbcp] 01/02: Remove dead inline comments.
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-dbcp.git commit c6d5cd9c95e3fc3e5fc74d9e518a45e870d37a1a Author: Gary Gregory AuthorDate: Tue Jun 1 18:37:02 2021 -0400 Remove dead inline comments. --- .../apache/commons/dbcp2/datasources/InstanceKeyDataSource.java | 9 - 1 file changed, 9 deletions(-) diff --git a/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java b/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java index f68d789..39c0965 100644 --- a/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java +++ b/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java @@ -182,9 +182,6 @@ public abstract class InstanceKeyDataSource implements DataSource, Referenceable throw new SQLFeatureNotSupportedException(); } -// --- -// Properties - /** * Gets the default value for {@link GenericKeyedObjectPoolConfig#getBlockWhenExhausted()} for each per user pool. * @@ -880,12 +877,6 @@ public abstract class InstanceKeyDataSource implements DataSource, Referenceable this.maxConnLifetimeMillis = maxConnLifetimeMillis; } -// -- -// Instrumentation Methods - -// -- -// DataSource implementation - /** * Attempts to establish a database connection. */
[commons-math] branch master updated: Typo (Javadoc).
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 8afd815 Typo (Javadoc). 8afd815 is described below commit 8afd815000e61ffc98bb5207fbfc483171fa2787 Author: Gilles Sadowski AuthorDate: Wed Jun 2 01:08:42 2021 +0200 Typo (Javadoc). --- .../main/java/org/apache/commons/math4/legacy/complex/package-info.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/complex/package-info.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/complex/package-info.java index 5b87c3a..72fd1f8 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/complex/package-info.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/complex/package-info.java @@ -17,6 +17,6 @@ /** * Complex number type implementations have been moved to - * http://commons.apache.org/numbers>Commons Numbers. + * http://commons.apache.org/numbers";>Commons Numbers. */ package org.apache.commons.math4.legacy.complex;
[commons-dbcp] branch master updated: Remove obsolete Ant comment.
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-dbcp.git The following commit(s) were added to refs/heads/master by this push: new 137f82c Remove obsolete Ant comment. 137f82c is described below commit 137f82c2c5411c6f401db8b735f6ad830c16f13a Author: Gary Gregory AuthorDate: Tue Jun 1 18:36:01 2021 -0400 Remove obsolete Ant comment. --- src/main/java/org/apache/commons/dbcp2/DelegatingDatabaseMetaData.java | 2 -- src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java | 1 - .../java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java | 2 -- .../org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java | 1 - .../java/org/apache/commons/dbcp2/TestDelegatingDatabaseMetaData.java | 1 - src/test/java/org/apache/commons/dbcp2/TesterDatabaseMetaData.java | 2 -- .../org/apache/commons/dbcp2/datasources/PooledConnectionProxy.java | 2 -- 7 files changed, 11 deletions(-) diff --git a/src/main/java/org/apache/commons/dbcp2/DelegatingDatabaseMetaData.java b/src/main/java/org/apache/commons/dbcp2/DelegatingDatabaseMetaData.java index e6a7092..75b75e8 100644 --- a/src/main/java/org/apache/commons/dbcp2/DelegatingDatabaseMetaData.java +++ b/src/main/java/org/apache/commons/dbcp2/DelegatingDatabaseMetaData.java @@ -1804,8 +1804,6 @@ public class DelegatingDatabaseMetaData implements DatabaseMetaData { } } -/* JDBC_4_ANT_KEY_BEGIN */ - @Override public boolean supportsSubqueriesInComparisons() throws SQLException { try { diff --git a/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java b/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java index 3768ea9..2ba83cd 100644 --- a/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java +++ b/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java @@ -105,7 +105,6 @@ public class PoolingDataSource implements DataSource, Auto this.accessToUnderlyingConnectionAllowed = allow; } -/* JDBC_4_ANT_KEY_BEGIN */ @Override public boolean isWrapperFor(final Class iface) throws SQLException { return iface != null && iface.isInstance(this); diff --git a/src/main/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java b/src/main/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java index ec74156..f5fbd14 100644 --- a/src/main/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java +++ b/src/main/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java @@ -128,7 +128,6 @@ class PooledConnectionImpl } } -/* JDBC_4_ANT_KEY_BEGIN */ @Override public void addStatementEventListener(final StatementEventListener listener) { if (!statementEventListeners.contains(listener)) { @@ -697,7 +696,6 @@ class PooledConnectionImpl eventListeners.remove(listener); } -/* JDBC_4_ANT_KEY_BEGIN */ @Override public void removeStatementEventListener(final StatementEventListener listener) { statementEventListeners.remove(listener); diff --git a/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java b/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java index 6ed6054..f68d789 100644 --- a/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java +++ b/src/main/java/org/apache/commons/dbcp2/datasources/InstanceKeyDataSource.java @@ -162,7 +162,6 @@ public abstract class InstanceKeyDataSource implements DataSource, Referenceable protected abstract PooledConnectionManager getConnectionManager(UserPassKey upkey); -/* JDBC_4_ANT_KEY_BEGIN */ @Override public boolean isWrapperFor(final Class iface) throws SQLException { return iface.isInstance(this); diff --git a/src/test/java/org/apache/commons/dbcp2/TestDelegatingDatabaseMetaData.java b/src/test/java/org/apache/commons/dbcp2/TestDelegatingDatabaseMetaData.java index 44b6cfb..d2ec422 100644 --- a/src/test/java/org/apache/commons/dbcp2/TestDelegatingDatabaseMetaData.java +++ b/src/test/java/org/apache/commons/dbcp2/TestDelegatingDatabaseMetaData.java @@ -56,7 +56,6 @@ public class TestDelegatingDatabaseMetaData { } @Test -/* JDBC_4_ANT_KEY_BEGIN */ public void testCheckOpen() throws Exception { delegate = new DelegatingDatabaseMetaData(conn, conn.getMetaData()); final ResultSet rst = delegate.getSchemas(); diff --git a/src/test/java/org/apache/commons/dbcp2/TesterDatabaseMetaData.java b/src/test/java/org/apache/commons/dbcp2/TesterDatabaseMetaData.java index 586f6fe..d9407e8 100644 --- a/src/test/java/org/apache/commons/dbcp2/TesterDatabaseMetaData.java +++ b/src/test/java/org/apache/commons/dbcp2/TesterDatabaseMetaData.java @@ -881,8 +881,6 @@ public class TesterDatabaseMetaData implements DatabaseM
[commons-pool] annotated tag rel/commons-pool-2.10.0 created (now 2e93f4a)
This is an automated email from the ASF dual-hosted git repository. ggregory pushed a change to annotated tag rel/commons-pool-2.10.0 in repository https://gitbox.apache.org/repos/asf/commons-pool.git. at 2e93f4a (tag) tagging 48c289d95c2374ee11e3276a8bcb93b7f99015be (commit) replaces rel/commons-pool-2.9.0 by Gary Gregory on Tue Jun 1 17:46:10 2021 -0400 - Log - Create release tag for Apache release 2.10.0. -BEGIN PGP SIGNATURE- iQEzBAABCAAdFiEELbTx7w+nYezE6pNchv3H4qESYssFAmC2qqIACgkQhv3H4qES YsubeAf+KP/m4t2w6Jj2u6ITnVfxTsWNF9mXedSmcv971B8s0nFuc82wFk1ZM5K5 Wua0aNTZ7kw3ebef7Ng17u0FAPBvfjw469FzAQ3yDRi7podvksgbEvEwFjTeRLBU eR6h1OlZKMNWIfBfHwcPare69ZOKOcSeKOWfUIGKV4bNqBWS25Ay6TaHg/o5PzcQ ANVorfa68chuhhglMHvqTNdDG8liPL24AV6q3sRnpzMi8bcn6QP5U/znA1lzpxiL 2vnRjYoZ6nbpogI+uRR5zcWNutfmRAfFKkpUu+EeSbCxQFcwAZJboUgDs4kll1gE Xxxe+9bH/9ye1Xoln7UHluMOfd9Epw== =K2OS -END PGP SIGNATURE- --- No new revisions were added by this update.
Nexus: Promotion Completed
Message from: https://repository.apache.orgDescription:Release Apache Commons Pool 2.10.0. Deployer properties:"userAgent" = "Apache-Maven/3.8.1 (Java 1.8.0_292; Mac OS X 10.16)""userId" = "ggregory""ip" = "98.180.78.32"Details:The following artifacts have been promoted to the "Releases" [id=releases] repository/org/apache/commons/commons-pool2/2.10.0/commons-pool2-2.10.0-javadoc.jar(SHA1: 510e543bbf665161d12bcc6c7331f429f19de578)/org/apache/commons/commons-pool2/2.10.0/commons-pool2-2.10.0-tests.jar(SHA1: a21bff1a91f3b16fe93f88b8a1e06a3e99334c07)/org/apache/commons/commons-pool2/2.10.0/commons-pool2-2.10.0-tests.jar.asc(SHA1: 231b93001cbcdfb14804aa0df96d1cab89092e69)/org/apache/commons/commons-pool2/2.10.0/commons-pool2-2.10.0.jar(SHA1: dd571e1d24e3994ec2b8c45f08ca43eed11f2c0d)/org/apache/commons/commons-pool2/2.10.0/commons-pool2-2.10.0-sources.jar.asc(SHA1: 18e548ebcbdd3eb606d44b5d21604e7eb05037ad)/org/apache/commons/commons-pool2/2.10.0/commons-pool2-2.10.0-javadoc.jar.asc(SHA1: b62386e4193e1b3773a8875ae6de7cc9c386d180)/org/apache/commons/commons-pool2/2.10.0/commons-pool2-2.10.0.jar.asc(SHA1: 8c8924e33298e93fb538904c2645f3308570d832)/org/apache/commons/commons-pool2/2.10.0/commons-pool2-2.10.0.pom.asc(SHA1: 2b0122998453cc770849b14d6ec3fc4a5b21d90f)/org/apache/commons/commons-pool2/2.10.0/commons-pool2-2.10.0-sources.jar(SHA1: d965b90e27f819a93b1011d2e6ec667c57221822)/org/apache/commons/commons-pool2/2.10.0/commons-pool2-2.10.0-test-sources.jar(SHA1: a9720659fec1328f2dec9f6c17c296e0d2da6a08)/org/apache/commons/commons-pool2/2.10.0/commons-pool2-2.10.0.pom(SHA1: 8bcf02dc5a1b0b76929e00c20958776841de3c8b)/org/apache/commons/commons-pool2/2.10.0/commons-pool2-2.10.0-test-sources.jar.asc(SHA1: 7948142749a54095ef324589ebb14812bb6313a5)Action performed by Gary D. Gregory (ggregory)
svn commit: r48074 - in /release/commons/pool: binaries/ source/
Author: ggregory Date: Tue Jun 1 21:44:44 2021 New Revision: 48074 Log: release . Removed: release/commons/pool/binaries/commons-pool2-2.9.0-bin.tar.gz release/commons/pool/binaries/commons-pool2-2.9.0-bin.tar.gz.asc release/commons/pool/binaries/commons-pool2-2.9.0-bin.tar.gz.sha512 release/commons/pool/binaries/commons-pool2-2.9.0-bin.zip release/commons/pool/binaries/commons-pool2-2.9.0-bin.zip.asc release/commons/pool/binaries/commons-pool2-2.9.0-bin.zip.sha512 release/commons/pool/source/commons-pool2-2.9.0-src.tar.gz release/commons/pool/source/commons-pool2-2.9.0-src.tar.gz.asc release/commons/pool/source/commons-pool2-2.9.0-src.tar.gz.sha512 release/commons/pool/source/commons-pool2-2.9.0-src.zip release/commons/pool/source/commons-pool2-2.9.0-src.zip.asc release/commons/pool/source/commons-pool2-2.9.0-src.zip.sha512
svn commit: r48073 - /release/commons/pool/README.html
Author: ggregory Date: Tue Jun 1 21:41:46 2021 New Revision: 48073 Log: release . Modified: release/commons/pool/README.html Modified: release/commons/pool/README.html == --- release/commons/pool/README.html (original) +++ release/commons/pool/README.html Tue Jun 1 21:41:46 2021 @@ -1,6 +1,6 @@ -Commons POOL 2.9.0 for Java 8 +Commons POOL 2.10.0 for Java 8 -This is the 2.9.0 release of commons-pool. It is available in both binary and source distributions. +This is the 2.10.0 release of commons-pool. It is available in both binary and source distributions. Note: The tar files in the distribution use GNU tar extensions @@ -26,13 +26,13 @@ HREF="https://www.apache.org/dist/common Always test available signatures, e.g., $ pgpk -a KEYS -$ pgpv commons-pool2-2.9.0.tar.gz.asc +$ pgpv commons-pool2-2.10.0.tar.gz.asc or, $ pgp -ka KEYS -$ pgp commons-pool2-2.9.0.tar.gz.asc +$ pgp commons-pool2-2.10.0.tar.gz.asc or, $ gpg --import KEYS -$ gpg --verify commons-pool2-2.9.0.tar.gz.asc +$ gpg --verify commons-pool2-2.10.0.tar.gz.asc
svn commit: r48072 - /dev/commons/pool/2.10.0-RC1/ /dev/commons/pool/2.10.0-RC1/binaries/ /dev/commons/pool/2.10.0-RC1/source/ /release/commons/pool/ /release/commons/pool/binaries/ /release/commons/p
Author: ggregory Date: Tue Jun 1 21:34:48 2021 New Revision: 48072 Log: Publish commons-pool2 2.10.0 Release Added: release/commons/pool/RELEASE-NOTES.txt - copied unchanged from r48071, dev/commons/pool/2.10.0-RC1/RELEASE-NOTES.txt release/commons/pool/binaries/commons-pool2-2.10.0-bin.tar.gz - copied unchanged from r48071, dev/commons/pool/2.10.0-RC1/binaries/commons-pool2-2.10.0-bin.tar.gz release/commons/pool/binaries/commons-pool2-2.10.0-bin.tar.gz.asc - copied unchanged from r48071, dev/commons/pool/2.10.0-RC1/binaries/commons-pool2-2.10.0-bin.tar.gz.asc release/commons/pool/binaries/commons-pool2-2.10.0-bin.tar.gz.sha512 - copied unchanged from r48071, dev/commons/pool/2.10.0-RC1/binaries/commons-pool2-2.10.0-bin.tar.gz.sha512 release/commons/pool/binaries/commons-pool2-2.10.0-bin.zip - copied unchanged from r48071, dev/commons/pool/2.10.0-RC1/binaries/commons-pool2-2.10.0-bin.zip release/commons/pool/binaries/commons-pool2-2.10.0-bin.zip.asc - copied unchanged from r48071, dev/commons/pool/2.10.0-RC1/binaries/commons-pool2-2.10.0-bin.zip.asc release/commons/pool/binaries/commons-pool2-2.10.0-bin.zip.sha512 - copied unchanged from r48071, dev/commons/pool/2.10.0-RC1/binaries/commons-pool2-2.10.0-bin.zip.sha512 release/commons/pool/source/commons-pool2-2.10.0-src.tar.gz - copied unchanged from r48071, dev/commons/pool/2.10.0-RC1/source/commons-pool2-2.10.0-src.tar.gz release/commons/pool/source/commons-pool2-2.10.0-src.tar.gz.asc - copied unchanged from r48071, dev/commons/pool/2.10.0-RC1/source/commons-pool2-2.10.0-src.tar.gz.asc release/commons/pool/source/commons-pool2-2.10.0-src.tar.gz.sha512 - copied unchanged from r48071, dev/commons/pool/2.10.0-RC1/source/commons-pool2-2.10.0-src.tar.gz.sha512 release/commons/pool/source/commons-pool2-2.10.0-src.zip - copied unchanged from r48071, dev/commons/pool/2.10.0-RC1/source/commons-pool2-2.10.0-src.zip release/commons/pool/source/commons-pool2-2.10.0-src.zip.asc - copied unchanged from r48071, dev/commons/pool/2.10.0-RC1/source/commons-pool2-2.10.0-src.zip.asc release/commons/pool/source/commons-pool2-2.10.0-src.zip.sha512 - copied unchanged from r48071, dev/commons/pool/2.10.0-RC1/source/commons-pool2-2.10.0-src.zip.sha512 Removed: dev/commons/pool/2.10.0-RC1/RELEASE-NOTES.txt dev/commons/pool/2.10.0-RC1/binaries/commons-pool2-2.10.0-bin.tar.gz dev/commons/pool/2.10.0-RC1/binaries/commons-pool2-2.10.0-bin.tar.gz.asc dev/commons/pool/2.10.0-RC1/binaries/commons-pool2-2.10.0-bin.tar.gz.sha512 dev/commons/pool/2.10.0-RC1/binaries/commons-pool2-2.10.0-bin.zip dev/commons/pool/2.10.0-RC1/binaries/commons-pool2-2.10.0-bin.zip.asc dev/commons/pool/2.10.0-RC1/binaries/commons-pool2-2.10.0-bin.zip.sha512 dev/commons/pool/2.10.0-RC1/source/commons-pool2-2.10.0-src.tar.gz dev/commons/pool/2.10.0-RC1/source/commons-pool2-2.10.0-src.tar.gz.asc dev/commons/pool/2.10.0-RC1/source/commons-pool2-2.10.0-src.tar.gz.sha512 dev/commons/pool/2.10.0-RC1/source/commons-pool2-2.10.0-src.zip dev/commons/pool/2.10.0-RC1/source/commons-pool2-2.10.0-src.zip.asc dev/commons/pool/2.10.0-RC1/source/commons-pool2-2.10.0-src.zip.sha512
[commons-math] 03/03: Dependency not needed.
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 1da0c5705322a8f0a740d7214b92fcff811a0e7c Author: Gilles Sadowski AuthorDate: Tue Jun 1 17:36:08 2021 +0200 Dependency not needed. --- commons-math-legacy/pom.xml | 6 -- 1 file changed, 6 deletions(-) diff --git a/commons-math-legacy/pom.xml b/commons-math-legacy/pom.xml index 3350422..fb0e2ae 100644 --- a/commons-math-legacy/pom.xml +++ b/commons-math-legacy/pom.xml @@ -130,12 +130,6 @@ test - - org.apache.commons - commons-math3 - test - -
[commons-math] 02/03: Utility class moved to module "commons-math-legacy-core".
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 ba2a1c2434add14499adb16a8c46c3063835d85e Author: Gilles Sadowski AuthorDate: Tue Jun 1 17:31:40 2021 +0200 Utility class moved to module "commons-math-legacy-core". --- .../src/main/java/org/apache/commons/math4/legacy/core}/Pair.java | 2 +- .../test/java/org/apache/commons/math4/legacy/core}/PairTest.java | 2 +- .../math4/legacy/analysis/integration/gauss/BaseRuleFactory.java| 2 +- .../math4/legacy/analysis/integration/gauss/GaussIntegrator.java| 2 +- .../legacy/analysis/integration/gauss/GaussIntegratorFactory.java | 2 +- .../math4/legacy/analysis/integration/gauss/HermiteRuleFactory.java | 2 +- .../legacy/analysis/integration/gauss/LaguerreRuleFactory.java | 2 +- .../integration/gauss/LegendreHighPrecisionRuleFactory.java | 2 +- .../legacy/analysis/integration/gauss/LegendreRuleFactory.java | 2 +- .../legacy/analysis/integration/gauss/SymmetricGaussIntegrator.java | 2 +- .../commons/math4/legacy/distribution/EnumeratedDistribution.java | 2 +- .../math4/legacy/distribution/EnumeratedIntegerDistribution.java| 2 +- .../math4/legacy/distribution/EnumeratedRealDistribution.java | 2 +- .../legacy/distribution/MixtureMultivariateNormalDistribution.java | 2 +- .../legacy/distribution/MixtureMultivariateRealDistribution.java| 2 +- .../fitting/MultivariateNormalMixtureExpectationMaximization.java | 2 +- .../DifferentiatorVectorMultivariateJacobianFunction.java | 2 +- .../math4/legacy/fitting/leastsquares/GaussNewtonOptimizer.java | 2 +- .../math4/legacy/fitting/leastsquares/LeastSquaresFactory.java | 2 +- .../legacy/fitting/leastsquares/MultivariateJacobianFunction.java | 2 +- .../math4/legacy/ml/clustering/MiniBatchKMeansClusterer.java| 2 +- .../java/org/apache/commons/math4/legacy/optim/PointValuePair.java | 2 +- .../org/apache/commons/math4/legacy/optim/PointVectorValuePair.java | 2 +- .../org/apache/commons/math4/legacy/optim/SimplePointChecker.java | 2 +- .../commons/math4/legacy/stat/correlation/KendallsCorrelation.java | 2 +- .../legacy/analysis/integration/gauss/BaseRuleFactoryTest.java | 2 +- .../legacy/analysis/integration/gauss/GaussIntegratorTest.java | 2 +- .../math4/legacy/distribution/EnumeratedRealDistributionTest.java | 2 +- .../distribution/MixtureMultivariateNormalDistributionTest.java | 2 +- .../MultivariateNormalMixtureExpectationMaximizationTest.java | 2 +- .../commons/math4/legacy/field/linalg/FP64FieldDenseMatrixTest.java | 6 +++--- .../leastsquares/AbstractLeastSquaresOptimizerAbstractTest.java | 2 +- .../commons/math4/legacy/fitting/leastsquares/EvaluationTest.java | 2 +- 33 files changed, 35 insertions(+), 35 deletions(-) diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/util/Pair.java b/commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/Pair.java similarity index 98% rename from commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/util/Pair.java rename to commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/Pair.java index ea6a138..8e5620d 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/util/Pair.java +++ b/commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/Pair.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math4.legacy.util; +package org.apache.commons.math4.legacy.core; /** * Generic pair. diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/util/PairTest.java b/commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/PairTest.java similarity index 98% rename from commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/util/PairTest.java rename to commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/PairTest.java index 347a008..316227f 100644 --- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/util/PairTest.java +++ b/commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/PairTest.java @@ -11,7 +11,7 @@ * 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.util; +package org.apache.commons.math4.legacy.core; import org.junit.Assert; import org.junit.Test; diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/BaseRuleFactory.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/gauss/BaseRuleFactory.java index 4c479bc..f36fdbd 100644 -
[commons-math] branch master updated (787d42e -> 1da0c57)
This is an automated email from the ASF dual-hosted git repository. erans pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/commons-math.git. from 787d42e MATH-1595: Interface is not used anymore. new 02d14e6 Utility class moved to module "commons-math-legacy-core". new ba2a1c2 Utility class moved to module "commons-math-legacy-core". new 1da0c57 Dependency not needed. The 3 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: .../java/org/apache/commons/math4/legacy/core}/IntegerSequence.java | 2 +- .../src/main/java/org/apache/commons/math4/legacy/core}/Pair.java | 2 +- .../org/apache/commons/math4/legacy/core}/IntegerSequenceTest.java | 2 +- .../test/java/org/apache/commons/math4/legacy/core}/PairTest.java | 2 +- commons-math-legacy/pom.xml | 6 -- .../analysis/integration/BaseAbstractUnivariateIntegrator.java | 2 +- .../math4/legacy/analysis/integration/gauss/BaseRuleFactory.java| 2 +- .../math4/legacy/analysis/integration/gauss/GaussIntegrator.java| 2 +- .../legacy/analysis/integration/gauss/GaussIntegratorFactory.java | 2 +- .../math4/legacy/analysis/integration/gauss/HermiteRuleFactory.java | 2 +- .../legacy/analysis/integration/gauss/LaguerreRuleFactory.java | 2 +- .../integration/gauss/LegendreHighPrecisionRuleFactory.java | 2 +- .../legacy/analysis/integration/gauss/LegendreRuleFactory.java | 2 +- .../legacy/analysis/integration/gauss/SymmetricGaussIntegrator.java | 2 +- .../math4/legacy/analysis/solvers/BaseAbstractUnivariateSolver.java | 2 +- .../legacy/analysis/solvers/FieldBracketingNthOrderBrentSolver.java | 2 +- .../commons/math4/legacy/distribution/EnumeratedDistribution.java | 2 +- .../math4/legacy/distribution/EnumeratedIntegerDistribution.java| 2 +- .../math4/legacy/distribution/EnumeratedRealDistribution.java | 2 +- .../legacy/distribution/MixtureMultivariateNormalDistribution.java | 2 +- .../legacy/distribution/MixtureMultivariateRealDistribution.java| 2 +- .../fitting/MultivariateNormalMixtureExpectationMaximization.java | 2 +- .../DifferentiatorVectorMultivariateJacobianFunction.java | 2 +- .../math4/legacy/fitting/leastsquares/GaussNewtonOptimizer.java | 4 ++-- .../math4/legacy/fitting/leastsquares/LeastSquaresAdapter.java | 2 +- .../math4/legacy/fitting/leastsquares/LeastSquaresFactory.java | 4 ++-- .../legacy/fitting/leastsquares/LevenbergMarquardtOptimizer.java| 2 +- .../legacy/fitting/leastsquares/MultivariateJacobianFunction.java | 2 +- .../org/apache/commons/math4/legacy/linear/IterationManager.java| 2 +- .../apache/commons/math4/legacy/linear/IterativeLinearSolver.java | 2 +- .../math4/legacy/linear/PreconditionedIterativeLinearSolver.java| 2 +- .../main/java/org/apache/commons/math4/legacy/linear/SymmLQ.java| 2 +- .../math4/legacy/ml/clustering/MiniBatchKMeansClusterer.java| 2 +- .../apache/commons/math4/legacy/ode/AbstractFieldIntegrator.java| 2 +- .../org/apache/commons/math4/legacy/ode/AbstractIntegrator.java | 2 +- .../commons/math4/legacy/optim/AbstractOptimizationProblem.java | 2 +- .../java/org/apache/commons/math4/legacy/optim/BaseOptimizer.java | 2 +- .../org/apache/commons/math4/legacy/optim/OptimizationProblem.java | 2 +- .../java/org/apache/commons/math4/legacy/optim/PointValuePair.java | 2 +- .../org/apache/commons/math4/legacy/optim/PointVectorValuePair.java | 2 +- .../org/apache/commons/math4/legacy/optim/SimplePointChecker.java | 2 +- .../apache/commons/math4/legacy/optim/univariate/BracketFinder.java | 2 +- .../commons/math4/legacy/stat/correlation/KendallsCorrelation.java | 2 +- .../legacy/analysis/integration/gauss/BaseRuleFactoryTest.java | 2 +- .../legacy/analysis/integration/gauss/GaussIntegratorTest.java | 2 +- .../math4/legacy/distribution/EnumeratedRealDistributionTest.java | 2 +- .../distribution/MixtureMultivariateNormalDistributionTest.java | 2 +- .../MultivariateNormalMixtureExpectationMaximizationTest.java | 2 +- .../commons/math4/legacy/field/linalg/FP64FieldDenseMatrixTest.java | 6 +++--- .../leastsquares/AbstractLeastSquaresOptimizerAbstractTest.java | 2 +- .../commons/math4/legacy/fitting/leastsquares/EvaluationTest.java | 2 +- 51 files changed, 54 insertions(+), 60 deletions(-) rename {commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/util => commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core}/IntegerSequence.java (99%) rename {commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/util => commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core}/Pair.java (98%) rena
[commons-math] 01/03: Utility class moved to module "commons-math-legacy-core".
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 02d14e67916d740304885a67a4e8e0cebc5e42f6 Author: Gilles Sadowski AuthorDate: Tue Jun 1 17:17:51 2021 +0200 Utility class moved to module "commons-math-legacy-core". --- .../java/org/apache/commons/math4/legacy/core}/IntegerSequence.java | 2 +- .../java/org/apache/commons/math4/legacy/core}/IntegerSequenceTest.java | 2 +- .../legacy/analysis/integration/BaseAbstractUnivariateIntegrator.java | 2 +- .../math4/legacy/analysis/solvers/BaseAbstractUnivariateSolver.java | 2 +- .../legacy/analysis/solvers/FieldBracketingNthOrderBrentSolver.java | 2 +- .../commons/math4/legacy/fitting/leastsquares/GaussNewtonOptimizer.java | 2 +- .../commons/math4/legacy/fitting/leastsquares/LeastSquaresAdapter.java | 2 +- .../commons/math4/legacy/fitting/leastsquares/LeastSquaresFactory.java | 2 +- .../math4/legacy/fitting/leastsquares/LevenbergMarquardtOptimizer.java | 2 +- .../java/org/apache/commons/math4/legacy/linear/IterationManager.java | 2 +- .../org/apache/commons/math4/legacy/linear/IterativeLinearSolver.java | 2 +- .../math4/legacy/linear/PreconditionedIterativeLinearSolver.java| 2 +- .../src/main/java/org/apache/commons/math4/legacy/linear/SymmLQ.java| 2 +- .../org/apache/commons/math4/legacy/ode/AbstractFieldIntegrator.java| 2 +- .../java/org/apache/commons/math4/legacy/ode/AbstractIntegrator.java| 2 +- .../apache/commons/math4/legacy/optim/AbstractOptimizationProblem.java | 2 +- .../main/java/org/apache/commons/math4/legacy/optim/BaseOptimizer.java | 2 +- .../java/org/apache/commons/math4/legacy/optim/OptimizationProblem.java | 2 +- .../org/apache/commons/math4/legacy/optim/univariate/BracketFinder.java | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/util/IntegerSequence.java b/commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/IntegerSequence.java similarity index 99% rename from commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/util/IntegerSequence.java rename to commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/IntegerSequence.java index c41ff6a..1e2d88a 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/util/IntegerSequence.java +++ b/commons-math-legacy-core/src/main/java/org/apache/commons/math4/legacy/core/IntegerSequence.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.commons.math4.legacy.util; +package org.apache.commons.math4.legacy.core; import java.util.Iterator; import java.util.NoSuchElementException; diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/util/IntegerSequenceTest.java b/commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/IntegerSequenceTest.java similarity index 99% rename from commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/util/IntegerSequenceTest.java rename to commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/IntegerSequenceTest.java index b862b1d..11e84e8 100644 --- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/util/IntegerSequenceTest.java +++ b/commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/IntegerSequenceTest.java @@ -11,7 +11,7 @@ * 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.util; +package org.apache.commons.math4.legacy.core; import java.util.List; import java.util.ArrayList; diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/BaseAbstractUnivariateIntegrator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/BaseAbstractUnivariateIntegrator.java index 8c9e750..b4f4345 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/BaseAbstractUnivariateIntegrator.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/analysis/integration/BaseAbstractUnivariateIntegrator.java @@ -23,7 +23,7 @@ import org.apache.commons.math4.legacy.exception.MaxCountExceededException; import org.apache.commons.math4.legacy.exception.NotStrictlyPositiveException; import org.apache.commons.math4.legacy.exception.NumberIsTooSmallException; import org.apache.commons.math4.legacy.exception.TooManyEvaluationsException; -import org.apache.commons.math4.legacy.util.IntegerSequence; +import org.apache.commons.math4.legacy.core.IntegerSequence; /** * Provide a default implementation for several generic functi
[commons-math] branch master updated: MATH-1595: Interface is not used anymore.
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 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..000 --- 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. * * - * 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. * */ package org.apache.commons.math4.legacy.random;
[commons-jexl] branch master updated: JEXL: checkstyle
This is an automated email from the ASF dual-hosted git repository. henrib pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-jexl.git The following commit(s) were added to refs/heads/master by this push: new 2622a58 JEXL: checkstyle 2622a58 is described below commit 2622a581a02341b09bf57352d126c6d2a093fdec Author: henrib AuthorDate: Tue Jun 1 11:31:45 2021 +0200 JEXL: checkstyle --- .../org/apache/commons/jexl3/JexlFeatures.java | 1 - .../apache/commons/jexl3/internal/Interpreter.java | 78 +- 2 files changed, 77 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/jexl3/JexlFeatures.java b/src/main/java/org/apache/commons/jexl3/JexlFeatures.java index 9da12df..3a91502 100644 --- a/src/main/java/org/apache/commons/jexl3/JexlFeatures.java +++ b/src/main/java/org/apache/commons/jexl3/JexlFeatures.java @@ -18,7 +18,6 @@ package org.apache.commons.jexl3; import java.util.Collection; import java.util.Collections; -import java.util.HashSet; import java.util.Set; import java.util.TreeSet; import java.util.Objects; diff --git a/src/main/java/org/apache/commons/jexl3/internal/Interpreter.java b/src/main/java/org/apache/commons/jexl3/internal/Interpreter.java index 1d2c6d2..96fa6c3 100644 --- a/src/main/java/org/apache/commons/jexl3/internal/Interpreter.java +++ b/src/main/java/org/apache/commons/jexl3/internal/Interpreter.java @@ -33,7 +33,83 @@ import org.apache.commons.jexl3.JxltEngine; import org.apache.commons.jexl3.introspection.JexlMethod; import org.apache.commons.jexl3.introspection.JexlPropertyGet; -import org.apache.commons.jexl3.parser.*; +import org.apache.commons.jexl3.parser.ASTAddNode; +import org.apache.commons.jexl3.parser.ASTAndNode; +import org.apache.commons.jexl3.parser.ASTAnnotatedStatement; +import org.apache.commons.jexl3.parser.ASTAnnotation; +import org.apache.commons.jexl3.parser.ASTArguments; +import org.apache.commons.jexl3.parser.ASTArrayAccess; +import org.apache.commons.jexl3.parser.ASTArrayLiteral; +import org.apache.commons.jexl3.parser.ASTAssignment; +import org.apache.commons.jexl3.parser.ASTBitwiseAndNode; +import org.apache.commons.jexl3.parser.ASTBitwiseComplNode; +import org.apache.commons.jexl3.parser.ASTBitwiseOrNode; +import org.apache.commons.jexl3.parser.ASTBitwiseXorNode; +import org.apache.commons.jexl3.parser.ASTBlock; +import org.apache.commons.jexl3.parser.ASTBreak; +import org.apache.commons.jexl3.parser.ASTConstructorNode; +import org.apache.commons.jexl3.parser.ASTContinue; +import org.apache.commons.jexl3.parser.ASTDivNode; +import org.apache.commons.jexl3.parser.ASTDoWhileStatement; +import org.apache.commons.jexl3.parser.ASTEQNode; +import org.apache.commons.jexl3.parser.ASTERNode; +import org.apache.commons.jexl3.parser.ASTEWNode; +import org.apache.commons.jexl3.parser.ASTEmptyFunction; +import org.apache.commons.jexl3.parser.ASTExtendedLiteral; +import org.apache.commons.jexl3.parser.ASTFalseNode; +import org.apache.commons.jexl3.parser.ASTForeachStatement; +import org.apache.commons.jexl3.parser.ASTFunctionNode; +import org.apache.commons.jexl3.parser.ASTGENode; +import org.apache.commons.jexl3.parser.ASTGTNode; +import org.apache.commons.jexl3.parser.ASTIdentifier; +import org.apache.commons.jexl3.parser.ASTIdentifierAccess; +import org.apache.commons.jexl3.parser.ASTIdentifierAccessJxlt; +import org.apache.commons.jexl3.parser.ASTIfStatement; +import org.apache.commons.jexl3.parser.ASTJexlLambda; +import org.apache.commons.jexl3.parser.ASTJexlScript; +import org.apache.commons.jexl3.parser.ASTJxltLiteral; +import org.apache.commons.jexl3.parser.ASTLENode; +import org.apache.commons.jexl3.parser.ASTLTNode; +import org.apache.commons.jexl3.parser.ASTMapEntry; +import org.apache.commons.jexl3.parser.ASTMapLiteral; +import org.apache.commons.jexl3.parser.ASTMethodNode; +import org.apache.commons.jexl3.parser.ASTModNode; +import org.apache.commons.jexl3.parser.ASTMulNode; +import org.apache.commons.jexl3.parser.ASTNENode; +import org.apache.commons.jexl3.parser.ASTNEWNode; +import org.apache.commons.jexl3.parser.ASTNRNode; +import org.apache.commons.jexl3.parser.ASTNSWNode; +import org.apache.commons.jexl3.parser.ASTNotNode; +import org.apache.commons.jexl3.parser.ASTNullLiteral; +import org.apache.commons.jexl3.parser.ASTNullpNode; +import org.apache.commons.jexl3.parser.ASTNumberLiteral; +import org.apache.commons.jexl3.parser.ASTOrNode; +import org.apache.commons.jexl3.parser.ASTRangeNode; +import org.apache.commons.jexl3.parser.ASTReference; +import org.apache.commons.jexl3.parser.ASTReferenceExpression; +import org.apache.commons.jexl3.parser.ASTRegexLiteral; +import org.apache.commons.jexl3.parser.ASTReturnStatement; +import org.apache.commons.jexl3.parser.ASTSWNode; +import org.apache.commons.jexl3.parser.ASTSetAddNode; +import org.apache.commons.jexl3.parser.ASTSetAndNode; +import org.apache.commons.jexl3.parser.ASTSetDivNode; +impo
[commons-jexl] branch master updated: JEXL: Javadoc
This is an automated email from the ASF dual-hosted git repository. henrib pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-jexl.git The following commit(s) were added to refs/heads/master by this push: new b73014c JEXL: Javadoc b73014c is described below commit b73014cc353ba743ccf44eb43d8df1d24e4e2376 Author: henrib AuthorDate: Tue Jun 1 11:25:19 2021 +0200 JEXL: Javadoc --- src/main/java/org/apache/commons/jexl3/parser/JexlParser.java | 5 + 1 file changed, 5 insertions(+) diff --git a/src/main/java/org/apache/commons/jexl3/parser/JexlParser.java b/src/main/java/org/apache/commons/jexl3/parser/JexlParser.java index b630cf4..aaea256 100644 --- a/src/main/java/org/apache/commons/jexl3/parser/JexlParser.java +++ b/src/main/java/org/apache/commons/jexl3/parser/JexlParser.java @@ -291,6 +291,11 @@ public abstract class JexlParser extends StringParser { return false; } +/** + * Checks whether an identifier is a local variable or argument. + * @param name the variable name + * @return true if a variable with that name was declared + */ protected boolean isVariable(String name) { return frame != null && frame.getSymbol(name) != null; }