aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/math
diff options
context:
space:
mode:
authorWarren Levy <warrenl@cygnus.com>2000-02-25 04:00:09 +0000
committerWarren Levy <warrenl@gcc.gnu.org>2000-02-25 04:00:09 +0000
commit12b595c7c4b6d8489bfa7cd239e054ad7e70e53f (patch)
tree0af372c6b0989c97ea4b63b6c2aa416c7674c4b3 /libjava/java/math
parent574a0ef53cf95e08a80f8e58711e90adfc3834f3 (diff)
downloadgcc-12b595c7c4b6d8489bfa7cd239e054ad7e70e53f.zip
gcc-12b595c7c4b6d8489bfa7cd239e054ad7e70e53f.tar.gz
gcc-12b595c7c4b6d8489bfa7cd239e054ad7e70e53f.tar.bz2
BigInteger.java (ival): Made private.
* java/math/BigInteger.java(ival): Made private. (words): Ditto. (neg): Ditto. From-SVN: r32143
Diffstat (limited to 'libjava/java/math')
-rw-r--r--libjava/java/math/BigInteger.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/java/math/BigInteger.java b/libjava/java/math/BigInteger.java
index 3a5a26b..b59e72b 100644
--- a/libjava/java/math/BigInteger.java
+++ b/libjava/java/math/BigInteger.java
@@ -35,8 +35,8 @@ public class BigInteger extends Number implements Comparable
* If words == null, the ival is the value of this BigInteger.
* Otherwise, the first ival elements of words make the value
* of this BigInteger, stored in little-endian order, 2's-complement form. */
- public int ival;
- public int[] words;
+ private int ival;
+ private int[] words;
/** We pre-allocate integers in the range minFixNum..maxFixNum. */
@@ -1779,7 +1779,7 @@ public class BigInteger extends Number implements Comparable
return abs(this);
}
- public static BigInteger neg(BigInteger x)
+ private static BigInteger neg(BigInteger x)
{
if (x.words == null && x.ival != Integer.MIN_VALUE)
return make(- x.ival);