Skip to content

Commit

Permalink
rename Functions
Browse files Browse the repository at this point in the history
removed typo and adjusted the function names for more logic
  • Loading branch information
fischerscode committed Aug 10, 2019
1 parent 00866e2 commit 9f0d1de
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions parse/src/main/java/com/parse/ParseObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@ public static <T extends ParseObject> Task<Void> pinAllInBackground(final String
* @see #unpinAllInBackground(String, java.util.List)
* @see #pinAllInBackground(String, java.util.List)
*/
public static <T extends ParseObject> Task<Void> pinAllNonRecursiveInBackground(final String name,
public static <T extends ParseObject> Task<Void> pinAllNotRecursiveInBackground(final String name,
final List<T> objects) {
return pinAllInBackground(name, objects, false);
}
Expand Down Expand Up @@ -3953,8 +3953,8 @@ public Task<Void> pinInBackground(String name) {
* @see #unpinInBackground(String)
* @see #pinInBackground(String)
*/
public Task<Void> pinInBackgroundNonRecursive(String name) {
return pinAllNonRecursiveInBackground(name, Collections.singletonList(this));
public Task<Void> pinNotRecursiveInBackground(String name) {
return pinAllNotRecursiveInBackground(name, Collections.singletonList(this));
}

Task<Void> pinInBackground(String name, boolean includeAllChildren) {
Expand Down Expand Up @@ -3990,8 +3990,8 @@ public void pin(String name) throws ParseException {
* @see #unpin(String)
* @see #pin(String)
*/
public void pinNonRecurisive(String name) throws ParseException {
ParseTaskUtils.wait(pinInBackgroundNonRecursive(name));
public void pinNotRecurisive(String name) throws ParseException {
ParseTaskUtils.wait(pinNotRecursiveInBackground(name));
}

/**
Expand Down

0 comments on commit 9f0d1de

Please sign in to comment.