You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2024/07/05 14:08:01 UTC

(commons-numbers) 05/31: PMD fix: Add package-private constructor for private class

This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git

commit 852f10b29883ae43465b81974bd45333b52f014d
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Thu Jul 4 16:08:26 2024 +0100

    PMD fix: Add package-private constructor for private class
---
 .../src/main/java/org/apache/commons/numbers/core/DDMath.java          | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/DDMath.java b/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/DDMath.java
index 8d3b36d5..4909d274 100644
--- a/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/DDMath.java
+++ b/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/DDMath.java
@@ -40,6 +40,9 @@ public final class DDMath {
         private double x;
         /** The low part of the double-double number. */
         private double xx;
+
+        /** Package-private constructor. */
+        MDD() {}
     }
 
     /** No instances. */