< prev index next >

src/java.base/share/classes/java/math/SignedMutableBigInteger.java

Print this page
rev 58552 : [mq]: 8241727-Typos-empty-lines-in-javadoc-inconsistent-indents-etc

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2020, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -44,11 +44,11 @@
  * @since   1.3
  */
 
 class SignedMutableBigInteger extends MutableBigInteger {
 
-   /**
+    /**
      * The sign of this MutableBigInteger.
      */
     int sign = 1;
 
     // Constructors

@@ -75,46 +75,46 @@
      */
     SignedMutableBigInteger(MutableBigInteger val) {
         super(val);
     }
 
-   // Arithmetic Operations
+    // Arithmetic Operations
 
-   /**
+    /**
      * Signed addition built upon unsigned add and subtract.
      */
     void signedAdd(SignedMutableBigInteger addend) {
         if (sign == addend.sign)
             add(addend);
         else
             sign = sign * subtract(addend);
 
     }
 
-   /**
+    /**
      * Signed addition built upon unsigned add and subtract.
      */
     void signedAdd(MutableBigInteger addend) {
         if (sign == 1)
             add(addend);
         else
             sign = sign * subtract(addend);
 
     }
 
-   /**
+    /**
      * Signed subtraction built upon unsigned add and subtract.
      */
     void signedSubtract(SignedMutableBigInteger addend) {
         if (sign == addend.sign)
             sign = sign * subtract(addend);
         else
             add(addend);
 
     }
 
-   /**
+    /**
      * Signed subtraction built upon unsigned add and subtract.
      */
     void signedSubtract(MutableBigInteger addend) {
         if (sign == 1)
             sign = sign * subtract(addend);
< prev index next >