Removed unneeded clone.
The clone did not protect the array used, only the reference ones. JIRA: MATH-650 git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1245061 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
470f0a8726
commit
18e7e2ce91
|
@ -6139,7 +6139,7 @@ class FastMathLiteralArrays {
|
|||
* @return a clone of the data array.
|
||||
*/
|
||||
static double[] loadExpIntA() {
|
||||
return EXP_INT_A.clone();
|
||||
return EXP_INT_A;
|
||||
}
|
||||
/**
|
||||
* Load "EXP_INT_B".
|
||||
|
@ -6147,7 +6147,7 @@ class FastMathLiteralArrays {
|
|||
* @return a clone of the data array.
|
||||
*/
|
||||
static double[] loadExpIntB() {
|
||||
return EXP_INT_B.clone();
|
||||
return EXP_INT_B;
|
||||
}
|
||||
/**
|
||||
* Load "EXP_FRAC_A".
|
||||
|
@ -6155,7 +6155,7 @@ class FastMathLiteralArrays {
|
|||
* @return a clone of the data array.
|
||||
*/
|
||||
static double[] loadExpFracA() {
|
||||
return EXP_FRAC_A.clone();
|
||||
return EXP_FRAC_A;
|
||||
}
|
||||
/**
|
||||
* Load "EXP_FRAC_B".
|
||||
|
@ -6163,7 +6163,7 @@ class FastMathLiteralArrays {
|
|||
* @return a clone of the data array.
|
||||
*/
|
||||
static double[] loadExpFracB() {
|
||||
return EXP_FRAC_B.clone();
|
||||
return EXP_FRAC_B;
|
||||
}
|
||||
/**
|
||||
* Load "LN_MANT".
|
||||
|
@ -6171,6 +6171,6 @@ class FastMathLiteralArrays {
|
|||
* @return a clone of the data array.
|
||||
*/
|
||||
static double[][] loadLnMant() {
|
||||
return LN_MANT.clone();
|
||||
return LN_MANT;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue