Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The function parameter deleted in DefaultHashOperations is not clear [DATAREDIS-924] #1495

Closed
spring-projects-issues opened this issue Jan 23, 2019 · 2 comments
Assignees
Labels
in: cache type: enhancement

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Jan 23, 2019

choice opened DATAREDIS-924 and commented

spring boot version = 2.1.1.RELEASE
When I use the following code

javaredisTemplate.opsForHash().delete(key);
@Override
public Long delete(K key, Object... hashKeys) {
 byte[] rawKey = rawKey(key); byte[][] rawHashKeys = rawHashKeys(hashKeys);
 return execute(connection -> connection.hDel(rawKey, rawHashKeys), true);}

This function should pass two parameters, because it uses the "..." syntax, so it can not pass parameters marked as "...", but the second parameter is used in the function, which results in compilation success, but runtime error


Affects: 2.1.4 (Lovelace SR4)

Reference URL: spring-projects/spring-boot#15755

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented Jan 23, 2019

Mark Paluch commented

Care to elaborate what you mean with function parameter?

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented Jun 28, 2019

Mark Paluch commented

Closing because lack of feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: cache type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants