Unverified Commit 6bdeb40a authored by paser4se's avatar paser4se Committed by GitHub
Browse files

Removing Suspicious Comments

According to the Common Weakness Enumeration organization, this is a security weakness([CWE-546](https://cwe.mitre.org/data/definitions/546.html): Suspicious Comment). The comments in your code can help malicious users to find the potential presence of a bug, incomplete functionality, or weaknesses to attack the system.
parent ab2a09da
Pipeline #1361 failed with stage
in 0 seconds
...@@ -120,13 +120,11 @@ public class GuavaCachingService implements CachingService { ...@@ -120,13 +120,11 @@ public class GuavaCachingService implements CachingService {
@Override @Override
public void remove(String key) { public void remove(String key) {
// TODO we probably want to shift this to target a cache
caches.values().stream().forEach(c -> c.invalidate(key)); caches.values().stream().forEach(c -> c.invalidate(key));
} }
@Override @Override
public void removeAll() { public void removeAll() {
// TODO we probably want to be able to target a given cache
caches.values().stream().forEach(Cache::invalidateAll); caches.values().stream().forEach(Cache::invalidateAll);
} }
......
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