From 5bccf687e83cba143b878deeafd7d7022da3fe45 Mon Sep 17 00:00:00 2001 From: Gilles Sadowski Date: Wed, 22 Feb 2012 14:02:08 +0000 Subject: [PATCH] Removed spurious initialization. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1292294 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/commons/math3/complex/ComplexFormat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/math3/complex/ComplexFormat.java b/src/main/java/org/apache/commons/math3/complex/ComplexFormat.java index f33804e27..37235bcdf 100644 --- a/src/main/java/org/apache/commons/math3/complex/ComplexFormat.java +++ b/src/main/java/org/apache/commons/math3/complex/ComplexFormat.java @@ -179,7 +179,7 @@ public class ComplexFormat { // format sign and imaginary double im = complex.getImaginary(); - StringBuffer imAppendTo = new StringBuffer(); + StringBuffer imAppendTo; if (im < 0.0) { toAppendTo.append(" - "); imAppendTo = formatImaginary(-im, new StringBuffer(), pos);