anton-vinogradov commented on code in PR #10047:
URL: https://github.com/apache/ignite/pull/10047#discussion_r893303604
##########
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/consistency/ReadRepairDataGenerator.java:
##########
@@ -218,6 +217,17 @@ public void generateAndCheck(
}
}
+ /**
+ * @param obj Object.
+ */
+ private Object describeArrayIfNeeded(Object obj) {
+ if (obj instanceof Object[])
+ return Arrays.deepToString((Object[])obj);
+ else if (obj instanceof int[])
Review Comment:
You should call explicit method for each type.
Each type has it's own `toString`.
Thats why only required impmented.
--
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]