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/08/08 13:02:03 UTC
(commons-numbers) branch master updated: Add since tag
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
The following commit(s) were added to refs/heads/master by this push:
new 3c85cc22 Add since tag
3c85cc22 is described below
commit 3c85cc220371852ffc82df844277eb19d0905b70
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Thu Aug 8 14:01:24 2024 +0100
Add since tag
---
.../src/main/java/org/apache/commons/numbers/core/Sum.java | 1 +
.../src/main/java/org/apache/commons/numbers/field/DDField.java | 2 ++
2 files changed, 3 insertions(+)
diff --git a/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Sum.java b/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Sum.java
index eaee0d9b..377cc3f8 100644
--- a/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Sum.java
+++ b/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Sum.java
@@ -184,6 +184,7 @@ public final class Sum
*
* @param other Sum to subtract.
* @return this instance.
+ * @since 1.2
*/
public Sum subtract(final Sum other) {
return add(-other.sum, -other.comp);
diff --git a/commons-numbers-field/src/main/java/org/apache/commons/numbers/field/DDField.java b/commons-numbers-field/src/main/java/org/apache/commons/numbers/field/DDField.java
index 4a6a7550..080ab26e 100644
--- a/commons-numbers-field/src/main/java/org/apache/commons/numbers/field/DDField.java
+++ b/commons-numbers-field/src/main/java/org/apache/commons/numbers/field/DDField.java
@@ -20,6 +20,8 @@ import org.apache.commons.numbers.core.DD;
/**
* {@link DD} field.
+ *
+ * @since 1.2
*/
public final class DDField extends AbstractField<DD> {
/** Singleton. */