summaryrefslogtreecommitdiffstats
path: root/libjava
diff options
context:
space:
mode:
authorwarrenl <warrenl@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-25 04:00:09 +0000
committerwarrenl <warrenl@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-25 04:00:09 +0000
commite3ac90610dab3369e153148d06b648953732c144 (patch)
tree0af372c6b0989c97ea4b63b6c2aa416c7674c4b3 /libjava
parent6cb10b66038a87ee4efb80df9d6e98d618cbc586 (diff)
downloadppe42-gcc-e3ac90610dab3369e153148d06b648953732c144.tar.gz
ppe42-gcc-e3ac90610dab3369e153148d06b648953732c144.zip
* java/math/BigInteger.java(ival): Made private.
(words): Ditto. (neg): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32143 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog6
-rw-r--r--libjava/java/math/BigInteger.java6
2 files changed, 9 insertions, 3 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 055abca0dde..6cb290b270f 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,9 @@
+2000-02-24 Warren Levy <warrenl@cygnus.com>
+
+ * java/math/BigInteger.java(ival): Made private.
+ (words): Ditto.
+ (neg): Ditto.
+
2000-02-20 Anthony Green <green@cygnus.com>
* Makefile.in: Rebuilt.
diff --git a/libjava/java/math/BigInteger.java b/libjava/java/math/BigInteger.java
index 3a5a26b8d67..b59e72b38e2 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);
OpenPOWER on IntegriCloud