public Engine(){ if( isEnabled()) { storage = new StorageFactory().safeCreate();//may return null currentStats = new CurrentStats(); currentStatsAsyncTasks = new CurrentStatsAsyncTasks(currentStats, storage); } }
public Engine(){ if( isEnabled()) { storage = new StorageFactory().safeCreate();//may return null currentStats = new CurrentStats(); currentStatsAsyncTasks = new CurrentStatsAsyncTasks(currentStats, storage); } }