Skip to content

Commit a8419ee

Browse files
committed
more regression fix in azure codegen
1 parent 8381aa9 commit a8419ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

AutoRest/Generators/Java/Azure.Java/TemplateModels/AzureMethodTemplateModel.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,8 @@ public override string CallbackGenericTypeString
532532
{
533533
get
534534
{
535-
if (ReturnType.Body is SequenceType && this.IsPagingNextOperation)
535+
if (ReturnType.Body is SequenceType &&
536+
(this.IsPagingOperation || this.IsPagingNextOperation))
536537
{
537538
return JavaCodeNamer.WrapPrimitiveType(ReturnType.Body).Name;
538539
}

0 commit comments

Comments
 (0)