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:
Andreas Beeker 2015-08-15 13:00:05 +00:00
parent 7cbfc3d7e1
commit ef3dab6bd7

View File

@ -118,7 +118,7 @@ public class Complex extends Var2or3ArgFunction implements FreeRefFunction {
if (realINum != 1 && realINum != -1) {
if (isDoubleAnInt(realINum)) {
strb.append(new Double(realINum).intValue());
strb.append((int)realINum);
} else {
strb.append(realINum);
}