Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The type of classCache can not represent its true responsibility:
protected final Map<String, Class> classCache = new UnlimitedConcurrentCache<String, Class>();
So I propose to change the type to EvictableCache<String, Class>
Similarly, protected final Map<String, Class> sourceCache = new StampedCommonCache<String, Class>(); has the same bad smell
It will be a breaking change, but it is time to clean the historical bad smell in a big version like Groovy 3.0.0
Attachments
Issue Links
- links to