@@ -98,7 +98,7 @@ public void testConstrBIScale() {
9898
9999 /** new BigDecimal(char[] value). */
100100 public void testConstrChar () {
101- char value [] = {'-' , '1' , '2' , '3' , '8' , '0' , '.' , '4' , '7' , '3' , '8' , 'E' , '-' , '4' , '2' , '3' };
101+ char [] value = {'-' , '1' , '2' , '3' , '8' , '0' , '.' , '4' , '7' , '3' , '8' , 'E' , '-' , '4' , '2' , '3' };
102102 BigDecimal result = new BigDecimal (value );
103103 String res = "-1.23804738E-419" ;
104104 int resScale = 427 ;
@@ -110,7 +110,7 @@ public void testConstrChar() {
110110
111111 /** new BigDecimal(char[] value, int offset, int len). */
112112 public void testConstrCharIntInt () {
113- char value [] = {'-' , '1' , '2' , '3' , '8' , '0' , '.' , '4' , '7' , '3' , '8' , 'E' , '-' , '4' , '2' , '3' };
113+ char [] value = {'-' , '1' , '2' , '3' , '8' , '0' , '.' , '4' , '7' , '3' , '8' , 'E' , '-' , '4' , '2' , '3' };
114114 int offset = 3 ;
115115 int len = 12 ;
116116 BigDecimal result = new BigDecimal (value , offset , len );
@@ -124,7 +124,7 @@ public void testConstrCharIntInt() {
124124
125125 /** new BigDecimal(char[] value, int offset, int len, MathContext mc). */
126126 public void testConstrCharIntIntMathContext () {
127- char value [] = {'-' , '1' , '2' , '3' , '8' , '0' , '.' , '4' , '7' , '3' , '8' , 'E' , '-' , '4' , '2' , '3' };
127+ char [] value = {'-' , '1' , '2' , '3' , '8' , '0' , '.' , '4' , '7' , '3' , '8' , 'E' , '-' , '4' , '2' , '3' };
128128 int offset = 3 ;
129129 int len = 12 ;
130130 int precision = 4 ;
@@ -143,7 +143,7 @@ public void testConstrCharIntIntMathContext() {
143143
144144 /** new BigDecimal(char[] value, int offset, int len, MathContext mc). */
145145 public void testConstrCharIntIntMathContextException1 () {
146- char value [] = {'-' , '1' , '2' , '3' , '8' , '0' , '.' , '4' , '7' , '3' , '8' , 'E' , '-' , '4' , '2' , '3' };
146+ char [] value = {'-' , '1' , '2' , '3' , '8' , '0' , '.' , '4' , '7' , '3' , '8' , 'E' , '-' , '4' , '2' , '3' };
147147 int offset = 3 ;
148148 int len = 120 ;
149149 int precision = 4 ;
@@ -154,7 +154,7 @@ public void testConstrCharIntIntMathContextException1() {
154154
155155 /** new BigDecimal(char[] value, int offset, int len, MathContext mc). */
156156 public void testConstrCharIntIntMathContextException2 () {
157- char value [] = {'-' , '1' , '2' , '3' , '8' , '0' , ',' , '4' , '7' , '3' , '8' , 'E' , '-' , '4' , '2' , '3' };
157+ char [] value = {'-' , '1' , '2' , '3' , '8' , '0' , ',' , '4' , '7' , '3' , '8' , 'E' , '-' , '4' , '2' , '3' };
158158 int offset = 3 ;
159159 int len = 120 ;
160160 int precision = 4 ;
@@ -165,7 +165,7 @@ public void testConstrCharIntIntMathContextException2() {
165165
166166 /** new BigDecimal(char[] value, MathContext mc). */
167167 public void testConstrCharMathContext () {
168- char value [] = {'3' , '8' , '0' , '.' , '4' , '7' , '3' , '8' , 'E' , '-' , '4' , '2' };
168+ char [] value = {'3' , '8' , '0' , '.' , '4' , '7' , '3' , '8' , 'E' , '-' , '4' , '2' };
169169 int precision = 4 ;
170170 RoundingMode rm = RoundingMode .CEILING ;
171171 MathContext mc = new MathContext (precision , rm );
0 commit comments