ptupitsyn commented on code in PR #3926:
URL: https://github.com/apache/ignite-3/pull/3926#discussion_r1657154703
##########
modules/api/src/main/java/org/apache/ignite/compute/JobDescriptor.java:
##########
@@ -79,19 +92,29 @@ public static Builder builder(String jobClassName) {
*
* @return Job descriptor builder.
*/
- public static Builder builder(Class<? extends ComputeJob<?>> jobClass) {
+ public static Builder builder(Class<? extends ComputeJob<?, ?>> jobClass) {
Review Comment:
Builder class should have the same generic type arguments as the parent
class to avoid wildcards.
--
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]