spring-projects / spring-data-redis

Provides support to increase developer productivity in Java when using Redis, a key-value store. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
https://spring.io/projects/spring-data-redis/
Apache License 2.0
1.77k stars 1.17k forks source link

Fix incorrect reference to SETNX in ReactiveValueOperations.setIfAbsent #3047

Open oxo1996 opened 6 days ago

oxo1996 commented 6 days ago

The Javadoc for the setIfAbsent method in ReactiveValueOperations incorrectly references SETNX. However, the implementation actually uses the SET command with the NX option. This update aligns the documentation with the current implementation.

pivotal-cla commented 6 days ago

@oxo1996 Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

pivotal-cla commented 6 days ago

@oxo1996 Thank you for signing the Contributor License Agreement!