Merge branch 'gwt' into create_st_race_dummy

This commit is contained in:
Benjamin Ebling
2011-11-24 10:59:04 +01:00
10 changed files with 23 additions and 24 deletions
@@ -212,11 +212,9 @@ public class SwissTimingAdapterPersistenceImpl implements SwissTimingAdapterPers
messageCollection = database.getCollection(CollectionNames.COMMAND_MESSAGES.name());
}
messageCollection.insert(objToInsert);
if(message.getType() == MessageType.RAC) {
// store the new race in the master data collection
List<Race> availableRaces = parseAvailableRacesMessage(message);
for (Race newRace : availableRaces) {
storeRace(newRace);
}