commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r762009 - /commons/proper/math/trunk/src/java/org/apache/commons/math/ode/sampling/DummyStepHandler.java
Date Sat, 04 Apr 2009 21:05:02 GMT
Author: sebb
Date: Sat Apr  4 21:05:01 2009
New Revision: 762009

URL: http://svn.apache.org/viewvc?rev=762009&view=rev
Log:
Might as well make the variable final as it is private and not changed

Modified:
    commons/proper/math/trunk/src/java/org/apache/commons/math/ode/sampling/DummyStepHandler.java

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/ode/sampling/DummyStepHandler.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/ode/sampling/DummyStepHandler.java?rev=762009&r1=762008&r2=762009&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/ode/sampling/DummyStepHandler.java
(original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/ode/sampling/DummyStepHandler.java
Sat Apr  4 21:05:01 2009
@@ -20,7 +20,7 @@
 import java.io.Serializable;
 
 /**
- * This class is a step handler that do nothing.
+ * This class is a step handler that does nothing.
 
  * <p>This class is provided as a convenience for users who are only
  * interested in the final state of an integration and not in the
@@ -84,7 +84,7 @@
   }
 
   /** The only instance. */
-  private static DummyStepHandler instance = new DummyStepHandler();
+  private static final DummyStepHandler instance = new DummyStepHandler();
 
   /** Serializable version identifier */
   private static final long serialVersionUID = 2731635121223090252L;



Mime
View raw message