wernerdv commented on code in PR #12651:
URL: https://github.com/apache/ignite/pull/12651#discussion_r2758675395
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheStatisticsModeChangeMessage.java:
##########
@@ -73,7 +87,8 @@ private
CacheStatisticsModeChangeMessage(CacheStatisticsModeChangeMessage req) {
*
* @param caches Collection of cache names.
*/
- public CacheStatisticsModeChangeMessage(UUID reqId, Collection<String>
caches, boolean enabled) {
+ public CacheStatisticsModeChangeMessage(IgniteUuid id, UUID reqId,
Collection<String> caches, boolean enabled) {
Review Comment:
We always pass `IgniteUuid.randomUuid()` for the `id` argument in the
constructor.
Maybe we should remove id from the constructor arguments and just initialize
it inside the constructor?
This also applies to the private constructor.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]