spring-projects / spring-projects/spring-data-redis
Findbugs reports nullable returns although code does not use transactions/pipelining [DATAREDIS-804]
Open
@mp911de is already working on this.
Since Dec 30, 2020.
type: enhancement
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
Yanming Zhou opened DATAREDIS-804 and commented
Boolean b = redisTemplate.opsForValue().setIfAbsent(key, value);
if (b == null)
throw new RuntimeException("It should never happens");
incomplete list:
ValueOperations.increment()
ValueOperations.setIfAbsent()
RedisTemplate.keys()
RedisServerCommands.time()
ListOperations.size()
SetOperations.size()
No further details from DATAREDIS-804
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.
Assessment
This issue has not been assessed yet.