Commit 053e76b0 authored by Daniel Gerhardt's avatar Daniel Gerhardt

Add comment to or remove methods w/o implementation

parent 739465b0
Pipeline #29812 passed with stages
in 1 minute and 23 seconds
......@@ -39,36 +39,36 @@ public class CacheBusterImpl implements CacheBuster {
@CacheEvict(value = "statistics", allEntries = true)
@EventListener
public void handleAfterCommentCreation(final AfterCreationEvent<Comment> event) {
/* Implementation provided by caching aspect. */
}
@CacheEvict(value = "statistics", allEntries = true)
@EventListener
public void handleAfterCommentDeletion(final AfterDeletionEvent<Comment> event) {
/* Implementation provided by caching aspect. */
}
@CacheEvict(value = "answerlists", key = "#event.content.id")
@EventListener
public void handleAfterAnswerCreation(final AfterCreationEvent<Answer> event) {
/* Implementation provided by caching aspect. */
}
@CacheEvict(value = "statistics", allEntries = true)
@EventListener
public void handleChangeScore(final ChangeScoreEvent event) {
/* Implementation provided by caching aspect. */
}
@CacheEvict(value = "statistics", allEntries = true)
@EventListener
public void handleAfterRoomCreation(final AfterCreationEvent<Room> event) {
/* Implementation provided by caching aspect. */
}
@CacheEvict(value = "statistics", allEntries = true)
@EventListener
public void handleAfterRoomDeletion(final AfterDeletionEvent<Room> event) {
/* Implementation provided by caching aspect. */
}
}
......@@ -41,49 +41,49 @@ public class ScheduledCacheBuster {
@CacheEvict(value = "rooms", allEntries = true)
@Scheduled(initialDelay = 1000 * 25, fixedRate = 1000 * 60 * 60 * 6)
private void clearSessionCache() {
/* Implementation provided by caching aspect. */
}
@CacheEvict(value = "contents", allEntries = true)
@Scheduled(initialDelay = 1000 * 50, fixedRate = 1000 * 60 * 30)
private void clearQuestionCache() {
/* Implementation provided by caching aspect. */
}
@CacheEvict(value = "contentlists", allEntries = true)
@Scheduled(initialDelay = 1000 * 75, fixedRate = 1000 * 60 * 30)
private void clearSkillQuestionCache() {
/* Implementation provided by caching aspect. */
}
@CacheEvict(value = "lecturecontentlists", allEntries = true)
@Scheduled(initialDelay = 1000 * 100, fixedRate = 1000 * 60 * 30)
private void clearLectureQuestionCache() {
/* Implementation provided by caching aspect. */
}
@CacheEvict(value = "preparationcontentlists", allEntries = true)
@Scheduled(initialDelay = 1000 * 125, fixedRate = 1000 * 60 * 30)
private void clearPreparationQuestionCache() {
/* Implementation provided by caching aspect. */
}
@CacheEvict(value = "flashcardcontentlists", allEntries = true)
@Scheduled(initialDelay = 1000 * 150, fixedRate = 1000 * 60 * 30)
private void clearFlashcardQuestionCache() {
/* Implementation provided by caching aspect. */
}
@CacheEvict(value = "answerlists", allEntries = true)
@Scheduled(initialDelay = 1000 * 175, fixedRate = 1000 * 60 * 15)
private void clearAnswerCache() {
/* Implementation provided by caching aspect. */
}
@CacheEvict(value = "score", allEntries = true)
@Scheduled(initialDelay = 1000 * 200, fixedRate = 1000 * 60 * 15)
private void clearLearningProgressCache() {
/* Implementation provided by caching aspect. */
}
}
......@@ -130,7 +130,7 @@ public class DefaultEntityServiceImpl<T extends Entity> implements EntityService
* @param entity The entity to be created
*/
protected void prepareCreate(final T entity) {
/* Implementation provided by subclasses. */
}
/**
......@@ -139,7 +139,7 @@ public class DefaultEntityServiceImpl<T extends Entity> implements EntityService
* @param entity The entity which has been created
*/
protected void finalizeCreate(final T entity) {
/* Implementation provided by subclasses. */
}
public T update(final T entity) {
......@@ -169,7 +169,7 @@ public class DefaultEntityServiceImpl<T extends Entity> implements EntityService
* @param entity The entity to be updated
*/
protected void prepareUpdate(final T entity) {
/* Implementation provided by subclasses. */
}
/**
......@@ -178,7 +178,7 @@ public class DefaultEntityServiceImpl<T extends Entity> implements EntityService
* @param entity The entity which has been updated
*/
protected void finalizeUpdate(final T entity) {
/* Implementation provided by subclasses. */
}
@Override
......@@ -272,7 +272,7 @@ public class DefaultEntityServiceImpl<T extends Entity> implements EntityService
* @param entity The entity to be deleted
*/
protected void prepareDelete(final T entity) {
/* Implementation provided by subclasses. */
}
/**
......@@ -282,7 +282,7 @@ public class DefaultEntityServiceImpl<T extends Entity> implements EntityService
* @param entity The entity to be modified
*/
protected void modifyRetrieved(final T entity) {
/* Implementation provided by subclasses. */
}
protected void validate(final T entity) {
......
......@@ -278,14 +278,6 @@ public class ArsnovaSocketioServerImpl implements ArsnovaSocketioServer {
}
});
server.addConnectListener(new ConnectListener() {
@Override
@Timed("onConnect")
public void onConnect(final SocketIOClient client) {
}
});
server.addDisconnectListener(new DisconnectListener() {
@Override
@Timed("onDisconnect")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment