Skip to content

Commit

Permalink
0001951: Warnings are not cleared from notification area after timeou…
Browse files Browse the repository at this point in the history
…t period, only errors are
  • Loading branch information
chenson42 committed Sep 3, 2014
1 parent 1e0fcde commit 68ab241
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -115,7 +115,12 @@ public void clearAll(String engineName) {
}

public void purgeOlderThan(long time) {
Collection<Map<String, LogSummary>> all = errorsByEngineByMessage.values();
purgeOlderThan(time, errorsByEngineByMessage);
purgeOlderThan(time, warningByEngineByMessage);
}

protected void purgeOlderThan(long time, Map<String, Map<String, LogSummary>> logSummaryByEngineByMessage) {
Collection<Map<String, LogSummary>> all = logSummaryByEngineByMessage.values();
for (Map<String, LogSummary> map : all) {
Set<String> keys = map.keySet();
for (String key : keys) {
Expand Down

0 comments on commit 68ab241

Please sign in to comment.