spring-projects / spring-projects/spring-data-redis
RedisKeyExpiredEvent has an unused generic
Open
Nobody has claimed this yet.
status: blocked
type: enhancement
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
Current behavior: RedisKeyExpiredEvent has an unused generic argument T.
Expected behavior is one of the following:
RedisKeyExpiredEventdoes not have a generic argument.- Method
getValue()inRedisKeyExpiredEventreturns an object of the generic type specified inRedisKeyExpiredEvent. May also require changes to the stored value and the constructor methods.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/main/java/org/springframework/data/redis/core/RedisKeyExpiredEvent.java, especially the stored value, constructor methods, and getValue(). Determine which of the two expected API directions applies, then make the generic behavior consistent across the class. Done means RedisKeyExpiredEvent no longer has an unused generic or getValue() returns the specified generic type.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, redis
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100