Merge pull request #1384 from stianst/master

Fix event-store example
This commit is contained in:
Stian Thorgersen 2015-06-16 06:21:30 +01:00
commit 9b9ec09788

View file

@ -34,6 +34,7 @@ public class MemEventStoreProviderFactory implements EventStoreProviderFactory {
@Override @Override
public void init(Config.Scope config) { public void init(Config.Scope config) {
events = Collections.synchronizedList(new LinkedList<Event>()); events = Collections.synchronizedList(new LinkedList<Event>());
adminEvents = Collections.synchronizedList(new LinkedList<AdminEvent>());
String excludes = config.get("excludes"); String excludes = config.get("excludes");
if (excludes != null) { if (excludes != null) {