removed lazy building of the instance
it was not needed since the instance is small it introduced synchronization problems git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613448 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a8be93bdff
commit
d2f1bf4cd6
|
@ -51,9 +51,6 @@ public class DummyStepHandler
|
|||
* @return the only instance
|
||||
*/
|
||||
public static DummyStepHandler getInstance() {
|
||||
if (instance == null) {
|
||||
instance = new DummyStepHandler();
|
||||
}
|
||||
return instance;
|
||||
}
|
||||
|
||||
|
@ -88,7 +85,7 @@ public class DummyStepHandler
|
|||
}
|
||||
|
||||
/** The only instance. */
|
||||
private static DummyStepHandler instance = null;
|
||||
private static DummyStepHandler instance = new DummyStepHandler();
|
||||
|
||||
private static final long serialVersionUID = 2731635121223090252L;
|
||||
|
||||
|
|
Loading…
Reference in New Issue