From cd4218e5239d55e50f161e65fc44cff42cb4ca71 Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Mon, 1 Aug 2016 13:40:11 +0000
Subject: [PATCH] javadoc

---
 core/java/src/net/i2p/util/NativeBigInteger.java | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/core/java/src/net/i2p/util/NativeBigInteger.java b/core/java/src/net/i2p/util/NativeBigInteger.java
index 10b5fb777b..b867cf76f6 100644
--- a/core/java/src/net/i2p/util/NativeBigInteger.java
+++ b/core/java/src/net/i2p/util/NativeBigInteger.java
@@ -640,7 +640,9 @@ public class NativeBigInteger extends BigInteger {
     }
 
     /**
-     *  @throws ArithmeticException if m &lt;= 0
+     *  @param m must be postive
+     *  @param exponent must be postive
+     *  @throws ArithmeticException if m &lt;= 0 or exponent &lt;=0
      */
     @Override
     public BigInteger modPow(BigInteger exponent, BigInteger m) {
@@ -654,7 +656,9 @@ public class NativeBigInteger extends BigInteger {
     }
 
     /**
-     *  @throws ArithmeticException if m &lt;= 0
+     *  @param exponent must be postive
+     *  @param m must be postive and odd
+     *  @throws ArithmeticException if m &lt;= 0 or m is even or exponent &lt;=0
      *  @since 0.9.26 and libjbigi version 3 and GMP version 5
      */
     public BigInteger modPowCT(BigInteger exponent, BigInteger m) {
-- 
GitLab