Skip to content

Commit

Permalink
Restore standard HashMap for the in-memory cache
Browse files Browse the repository at this point in the history
  • Loading branch information
giancosta86 committed Jul 26, 2015
1 parent 95b41ba commit 27e8ba8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
package info.gianlucacosta.easypmd.pmdscanner.messagescache;

import java.io.File;
import java.util.HashMap;
import java.util.Map;
import java.util.WeakHashMap;

/**
* In-memory scan messages cache
*/
class InMemoryScanMessagesCache extends AbstractScanMessagesCache {

private final Map<String, ScanMessagesCacheItem> cacheItems = new WeakHashMap<>();
private final Map<String, ScanMessagesCacheItem> cacheItems = new HashMap<>();

@Override
protected ScanMessagesCacheItem getItem(File scannedFile) {
Expand Down

0 comments on commit 27e8ba8

Please sign in to comment.