Skip to content

Conversation

IrvingOS
Copy link
Contributor

Change the cast target to WeakEntry in WeakCache.class.
Change the cast target to SoftEntry in SoftCache.class.
Because I don't think it's necessary to convert delegate.get(key) to WeakReference<Object> or SoftReference<Object> and then suppress the warning with @SuppressWarnings("unchecked").
If my idea is wrong, please point it out.
Thanks!

@IrvingOS IrvingOS closed this Aug 12, 2022
@IrvingOS IrvingOS deleted the testing branch August 12, 2022 03:33
@coveralls
Copy link

Coverage Status

Coverage remained the same at 87.325% when pulling 431be20 on IrvingOS:testing into 2d76f4d on mybatis:master.

@IrvingOS IrvingOS restored the testing branch August 12, 2022 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants