Skip to content

Commit 654f7a2

Browse files
committed
Update SoftMemoryCacheImpl.java
1 parent 28e418e commit 654f7a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/net/tsz/afinal/bitmap/core/SoftMemoryCacheImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ public class SoftMemoryCacheImpl implements IMemoryCache {
2525
private final HashMap<String, SoftReference<Bitmap>> mMemoryCache;
2626

2727
public SoftMemoryCacheImpl(int size) {
28-
mMemoryCache = new HashMap<String, SoftReference<Bitmap>>(size);
28+
29+
mMemoryCache = new HashMap<String, SoftReference<Bitmap>>();
2930
}
3031

3132
@Override

0 commit comments

Comments
 (0)