The private fields can now be made final

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1056502 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2011-01-07 20:55:34 +00:00
parent c8e8d8de18
commit 4fc0d428b8
1 changed files with 3 additions and 3 deletions

View File

@ -42,11 +42,11 @@ public class ComplexFormat {
/** The default imaginary character. */
private static final String DEFAULT_IMAGINARY_CHARACTER = "i";
/** The notation used to signify the imaginary part of the complex number. */
private String imaginaryCharacter;
private final String imaginaryCharacter;
/** The format used for the imaginary part. */
private NumberFormat imaginaryFormat;
private final NumberFormat imaginaryFormat;
/** The format used for the real part. */
private NumberFormat realFormat;
private final NumberFormat realFormat;
/**
* Create an instance with the default imaginary character, 'i', and the