FindBugs - BX_BOXING_IMMEDIATELY_UNBOXED_TO_PERFORM_COERCION
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696049 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7cbfc3d7e1
commit
ef3dab6bd7
@ -118,7 +118,7 @@ public class Complex extends Var2or3ArgFunction implements FreeRefFunction {
|
|||||||
|
|
||||||
if (realINum != 1 && realINum != -1) {
|
if (realINum != 1 && realINum != -1) {
|
||||||
if (isDoubleAnInt(realINum)) {
|
if (isDoubleAnInt(realINum)) {
|
||||||
strb.append(new Double(realINum).intValue());
|
strb.append((int)realINum);
|
||||||
} else {
|
} else {
|
||||||
strb.append(realINum);
|
strb.append(realINum);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user