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/01 10:20:03 UTC

[commons-math] 09/11: MATH-1594: Remove "Serializable".

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 94061dc5669452865779bc1d077b0dc7b051a854
Author: Gilles Sadowski <gi...@gmail.com>
AuthorDate: Fri Dec 31 00:59:27 2021 +0100

    MATH-1594: Remove "Serializable".
---
 .../math4/legacy/optim/univariate/UnivariatePointValuePair.java     | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/univariate/UnivariatePointValuePair.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/univariate/UnivariatePointValuePair.java
index 5de7509..7e8d471 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/univariate/UnivariatePointValuePair.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/univariate/UnivariatePointValuePair.java
@@ -17,8 +17,6 @@
 
 package org.apache.commons.math4.legacy.optim.univariate;
 
-import java.io.Serializable;
-
 /**
  * This class holds a point and the value of an objective function at this
  * point.
@@ -26,9 +24,7 @@ import java.io.Serializable;
  *
  * @since 3.0
  */
-public class UnivariatePointValuePair implements Serializable {
-    /** Serializable version identifier. */
-    private static final long serialVersionUID = 1003888396256744753L;
+public class UnivariatePointValuePair {
     /** Point. */
     private final double point;
     /** Value of the objective function at the point. */