Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(377)

Unified Diff: Src/GoogleApis/Apis/Requests/BatchRequest.cs

Issue 46460043: Issue 432: Batch request with null callback throws exception (Closed) Base URL: https://google-api-dotnet-client.googlecode.com/hg/
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Src/GoogleApis/Apis/Requests/BatchRequest.cs
===================================================================
--- a/Src/GoogleApis/Apis/Requests/BatchRequest.cs
b/Src/GoogleApis/Apis/Requests/BatchRequest.cs
@@ -101,6 101,9 @@
HttpResponseMessage message)
{
base.OnResponse(content, error, index, message);
if (OnResponseCallback == null)
return;
OnResponseCallback(content as TResponse, error, index, message);
}
}
@@ -158,7 161,7 @@
}
/// <summary>Asynchronously executes the batch request.</summary>
- /// <param name="taskCancellationToken">Cancellation token to cancel operation.</param>
/// <param name="cancellationToken">Cancellation token to cancel operation.</param>
public async Task ExecuteAsync(CancellationToken cancellationToken)
{
if (Count < 1)
« Src/GoogleApis.Tests/GoogleApis.Tests.csproj ('K') | « Src/GoogleApis.Tests/GoogleApis.Tests.csproj ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b