derekerdmann/freemind — Issue #3: freemind.main.Resources doesn't construct when getInstance() is called
Author: derekerdmann
Created: 2012-02-02 00:26:17+00:00
State: open

`freemind.main.Resources` is an implementation of the Singleton pattern, but the private instance is not lazily created when `getInstance()` is called.

This was discovered while testing `freemind.common.NumberProperty`, which uses the `Resources` singleton to log an Exception. Calling `getInstance()` results in a `java.lang.NullPointerException`.