pass null as RegattaLogStore for now

This commit is contained in:
Fredrik Teschke committed 2014-12-04 11:15:20 +01:00
1 parent 2c986f7be9
commit 3d2639987a
5 files changed
+13 -12

No files matched your search

@@ -81,8 +81,9 @@ public class TracTrac {
}
RaceLogStore raceLogStore = MongoRaceLogStoreFactory.INSTANCE.getMongoRaceLogStore(getService()
.getMongoObjectFactory(), getService().getDomainObjectFactory());
RegattaLogStore regattaLogStore = MongoRegattaLogStoreFactory.INSTANCE.getMongoRegattaLogStore(
getService().getMongoObjectFactory(), getService().getDomainObjectFactory());
RegattaLogStore regattaLogStore = null;
//TODO MongoRegattaLogStoreFactory.INSTANCE.getMongoRegattaLogStore(
//getService().getMongoObjectFactory(), getService().getDomainObjectFactory());
getTracTracAdapter().addTracTracRace(
(TrackerManager) getService(),
regattaForRaceRecord,
@@ -472,8 +472,9 @@ public class DomainObjectFactoryImpl implements DomainObjectFactory {
}
private RegattaLogStore getRegattaLogStore() {
return MongoRegattaLogStoreFactory.INSTANCE.getMongoRegattaLogStore(
new MongoObjectFactoryImpl(database, serviceFinderFactory), this);
return null;
//TODO MongoRegattaLogStoreFactory.INSTANCE.getMongoRegattaLogStore(
// new MongoObjectFactoryImpl(database, serviceFinderFactory), this);
}
private FlexibleLeaderboard loadFlexibleLeaderboard(DBObject dbLeaderboard,
@@ -2626,8 +2626,9 @@ public class SailingServiceImpl extends ProxiedRemoteServiceServlet implements S
}
private RegattaLogStore getRegattaLogStore() {
return MongoRegattaLogStoreFactory.INSTANCE.getMongoRegattaLogStore(
mongoObjectFactory, domainObjectFactory);
return null;
// TODO MongoRegattaLogStoreFactory.INSTANCE.getMongoRegattaLogStore(
// mongoObjectFactory, domainObjectFactory);
}
@Override
@@ -115,7 +115,8 @@ public abstract class RaceLogMongoDBTest extends AbstractMongoDBTest {
}
protected RegattaLogStore getRegattaLogStore() {
return MongoRegattaLogStoreFactory.INSTANCE.getMongoRegattaLogStore(mongoObjectFactory, domainObjectFactory);
return null;
//TODO MongoRegattaLogStoreFactory.INSTANCE.getMongoRegattaLogStore(mongoObjectFactory, domainObjectFactory);
}
}
@@ -1046,7 +1046,8 @@ public class RacingEventServiceImpl implements RacingEventService, ClearStateTes
}
private RegattaLogStore getRegattaLogStore() {
return MongoRegattaLogStoreFactory.INSTANCE.getMongoRegattaLogStore(mongoObjectFactory, domainObjectFactory);
return null;
//TODO MongoRegattaLogStoreFactory.INSTANCE.getMongoRegattaLogStore(mongoObjectFactory, domainObjectFactory);
}
@Override
@@ -2110,10 +2111,6 @@ public class RacingEventServiceImpl implements RacingEventService, ClearStateTes
return scheduler;
}
/**
* The operation is executed by immediately {@link Operation#internalApplyTo(Object) applying} it to this
* service object. It is then replicated to all replicas.
*/
@Override
public ObjectInputStream createObjectInputStreamResolvingAgainstCache(InputStream is) throws IOException {
return getBaseDomainFactory().createObjectInputStreamResolvingAgainstThisFactory(is);