commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [commons-math] 01/02: Removed obsolete interface.
Date Tue, 17 Dec 2019 02:14:55 GMT
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 c2e4972d5ace6440454d6f7755dd7b9d9446db0b
Author: Gilles Sadowski <gilles@harfang.homelinux.org>
AuthorDate: Tue Dec 17 02:57:23 2019 +0100

    Removed obsolete interface.
---
 .../distribution/AbstractIntegerDistribution.java  |  2 +-
 .../math4/distribution/IntegerDistribution.java    | 24 ----------------------
 2 files changed, 1 insertion(+), 25 deletions(-)

diff --git a/src/main/java/org/apache/commons/math4/distribution/AbstractIntegerDistribution.java
b/src/main/java/org/apache/commons/math4/distribution/AbstractIntegerDistribution.java
index b9f0b0e..bbc7343 100644
--- a/src/main/java/org/apache/commons/math4/distribution/AbstractIntegerDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/AbstractIntegerDistribution.java
@@ -35,7 +35,7 @@ import org.apache.commons.math4.util.FastMath;
  * from distribution to distribution.
  *
  */
-public abstract class AbstractIntegerDistribution implements IntegerDistribution, Serializable
{
+public abstract class AbstractIntegerDistribution implements DiscreteDistribution, Serializable
{
     /** Serializable version identifier */
     private static final long serialVersionUID = 20160318L;
 
diff --git a/src/main/java/org/apache/commons/math4/distribution/IntegerDistribution.java
b/src/main/java/org/apache/commons/math4/distribution/IntegerDistribution.java
deleted file mode 100644
index c65550d..0000000
--- a/src/main/java/org/apache/commons/math4/distribution/IntegerDistribution.java
+++ /dev/null
@@ -1,24 +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.distribution;
-
-import org.apache.commons.statistics.distribution.DiscreteDistribution;
-
-/**
- * Interface for distributions on the integers.
- */
-public interface IntegerDistribution extends DiscreteDistribution {}


Mime
View raw message