Skip to content

Commit 58ef412

Browse files
authored
Merge pull request #1729 from huangdx0726/fix1713
modifier field to final
2 parents 2e1afa9 + 734eec5 commit 58ef412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/ibatis/cache/impl/PerpetualCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class PerpetualCache implements Cache {
2828

2929
private final String id;
3030

31-
private Map<Object, Object> cache = new HashMap<>();
31+
private final Map<Object, Object> cache = new HashMap<>();
3232

3333
public PerpetualCache(String id) {
3434
this.id = id;

0 commit comments

Comments
 (0)