From e0acb530588530214d0f157f74b0f4781efc904b Mon Sep 17 00:00:00 2001 From: wangmengyan95 Date: Tue, 12 Jan 2016 10:51:31 -0800 Subject: [PATCH] Update comment for ParseFile.cancel() --- Parse/src/main/java/com/parse/ParseFile.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Parse/src/main/java/com/parse/ParseFile.java b/Parse/src/main/java/com/parse/ParseFile.java index 7393c937b..dc72890c1 100644 --- a/Parse/src/main/java/com/parse/ParseFile.java +++ b/Parse/src/main/java/com/parse/ParseFile.java @@ -681,8 +681,9 @@ public Task then(Task task) throws Exception { } /** - * Cancels the current network request and callbacks whether it's uploading or fetching data from - * the server. + * Cancels the operations for this {@code ParseFile} if they are still in the task queue. However, + * if a network request has already been started for an operation, the network request will not + * be canceled. */ //TODO (grantland): Deprecate and replace with CancellationToken public void cancel() {