diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/SEBClientEventBatchService.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/SEBClientEventBatchService.java index 3a3852b0..f7fad510 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/SEBClientEventBatchService.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/SEBClientEventBatchService.java @@ -71,15 +71,11 @@ public class SEBClientEventBatchService { this.examSessionCacheService = examSessionCacheService; this.jsonMapper = jsonMapper; - this.sqlSessionTemplate = new SqlSessionTemplate( - this.sqlSessionFactory, - ExecutorType.BATCH); - this.clientEventMapper = this.sqlSessionTemplate.getMapper( - ClientEventRecordMapper.class); + this.sqlSessionTemplate = new SqlSessionTemplate(this.sqlSessionFactory, ExecutorType.BATCH); + this.clientEventMapper = this.sqlSessionTemplate.getMapper(ClientEventRecordMapper.class); } private final BlockingDeque eventDataQueue = new LinkedBlockingDeque<>(); - //private final Collection events = new ArrayList<>(); public void accept(final String connectionToken, final String jsonBody) { this.eventDataQueue.add(new EventData(