This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 76a77742a9 Remove `@Deprecated` added by accident
76a77742a9 is described below
commit 76a77742a9aac87692ad6c896419af737a70b6fe
Author: Daniel Sun <[email protected]>
AuthorDate: Mon May 4 17:13:12 2026 +0900
Remove `@Deprecated` added by accident
---
.../java/org/codehaus/groovy/runtime/typehandling/NumberMath.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git
a/src/main/java/org/codehaus/groovy/runtime/typehandling/NumberMath.java
b/src/main/java/org/codehaus/groovy/runtime/typehandling/NumberMath.java
index 1ed72bccf2..9fe7cf532c 100644
--- a/src/main/java/org/codehaus/groovy/runtime/typehandling/NumberMath.java
+++ b/src/main/java/org/codehaus/groovy/runtime/typehandling/NumberMath.java
@@ -167,15 +167,12 @@ public abstract class NumberMath {
/**
* Modulo operation on two numbers (for backwards compatibility).
* <p>
- * This method is retained for backwards compatibility; {@link
#remainder(Number, Number)}
- * may be preferred for new code.
+ * This method is retained for backwards compatibility
*
* @param left the dividend
* @param right the divisor
* @return the modulo result
- * @deprecated use {@link #remainder(Number, Number)} instead
*/
- @Deprecated(since = "3.0.0")
public static Number mod(Number left, Number right) {
return getMath(left, right).modImpl(left, right);
}