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 2019/12/28 19:42:35 UTC

[commons-geometry] branch master updated: GEOMETRY-65: 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-geometry.git


The following commit(s) were added to refs/heads/master by this push:
     new 8287fed  GEOMETRY-65: Remove "Serializable".
8287fed is described below

commit 8287fed56844a59182611bb8245b1b194c3eabe2
Author: Gilles Sadowski <gi...@harfang.homelinux.org>
AuthorDate: Sat Dec 28 20:37:25 2019 +0100

    GEOMETRY-65: Remove "Serializable".
---
 .../geometry/core/precision/EpsilonDoublePrecisionContext.java    | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/precision/EpsilonDoublePrecisionContext.java b/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/precision/EpsilonDoublePrecisionContext.java
index cc45d27..30d2d10 100644
--- a/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/precision/EpsilonDoublePrecisionContext.java
+++ b/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/precision/EpsilonDoublePrecisionContext.java
@@ -16,8 +16,6 @@
  */
 package org.apache.commons.geometry.core.precision;
 
-import java.io.Serializable;
-
 import org.apache.commons.numbers.core.Precision;
 
 /** Simple {@link DoublePrecisionContext} subclass that uses an absolute epsilon value to
@@ -30,11 +28,7 @@ import org.apache.commons.numbers.core.Precision;
  *
  * @see Precision#compareTo(double, double, double)
  */
-public class EpsilonDoublePrecisionContext extends DoublePrecisionContext implements Serializable {
-
-    /** Serializable UID. */
-    private static final long serialVersionUID = 20191212L;
-
+public class EpsilonDoublePrecisionContext extends DoublePrecisionContext {
     /** Epsilon value. */
     private final double epsilon;