method already has a condition to retrieve immediateGenericType for a message
This condition was meant to be removed as part of #543 Resolves #624
This commit is contained in:
committed by
Oleg Zhurakousky
parent
d0a0da24bc
commit
9bbb86be2d
@@ -91,9 +91,7 @@ public final class FunctionTypeUtils {
|
||||
if (isPublisher(type) || isMessage(type)) {
|
||||
type = getImmediateGenericType(type, 0);
|
||||
}
|
||||
if (isMessage(type)) {
|
||||
type = getImmediateGenericType(type, 0);
|
||||
}
|
||||
|
||||
return TypeResolver.reify(type instanceof GenericArrayType ? type : TypeResolver.reify(type));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user