Fixing NullPointerException during startup.

This commit is contained in:
marcins78@gmail.com
2012-08-09 09:47:06 +00:00
parent b388226484
commit 2035357cf3

View File

@@ -245,7 +245,7 @@ public class ServerProvider implements InjectableProvider<Context, Type> {
}
private synchronized Injectable<DraftServer> getDraftServerInjectable() {
if (_lotroServerInjectable == null) {
if (_draftServerInjectable == null) {
final DraftServer draftServer = new DraftServer();
draftServer.startServer();
_draftServerInjectable = new Injectable<DraftServer>() {