Author: sebb
Date: Fri Jan 7 20:55:34 2011
New Revision: 1056502
URL: http://svn.apache.org/viewvc?rev=1056502&view=rev
Log:
The private fields can now be made final
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexFormat.java
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexFormat.java
URL:
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexFormat.java?rev=1056502&r1=1056501&r2=1056502&view=diff
==============================================================================
---
commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexFormat.java
(original)
+++
commons/proper/math/trunk/src/main/java/org/apache/commons/math/complex/ComplexFormat.java
Fri Jan 7 20:55:34 2011
@@ -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