Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Plan
Issues
27
Issue boards
Milestones
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
ARSnova Backend
Merge requests
!147
Fix multiple bugs and code smells
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix multiple bugs and code smells
qa
into
master
Overview
1
Commits
7
Pipelines
3
Changes
26
Merged
Daniel Gerhardt
requested to merge
qa
into
master
5 years ago
Overview
1
Commits
7
Pipelines
3
Changes
4
Expand
This fixes multiple blocker and critical rated issues reported by SonarQube.
0
0
Merge request reports
Viewing commit
053e76b0
Prev
Next
Show latest version
4 files
+
20
−
28
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
053e76b0
Add comment to or remove methods w/o implementation
· 053e76b0
Daniel Gerhardt
authored
5 years ago
src/main/java/de/thm/arsnova/cache/CacheBusterImpl.java
+
6
−
6
Options
@@ -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. */
}
}