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?
to your account
Сергей Цыпанов opened DATAJPA-1333 and commented
Arrays.stream(tuple.toArray()).anyMatch(v -> v.equals(value))
Assert.isTrue(parameters.hasNext(), String.format("No parameter available for part %s.", part));
at each call produces new message which is only needed in case of exception, so we can use Supplier instead of explicit String allocation.
According to https://shipilev.net/blog/2016/arrays-wisdom-ancients/ passing empty array into Collection::toArray is faster and contractually cleaner.
Affects: 2.0.6 (Kay SR6)
Referenced from: pull request #269
Backported to: 2.0.10 (Kay SR10), 1.11.15 (Ingalls SR15)
The text was updated successfully, but these errors were encountered:
Jens Schauder commented
I left a comment on Github
Sorry, something went wrong.
No branches or pull requests