Skip to content

Commit c2103e1

Browse files
authored
Nullability annotations (#857)
1 parent 8f3a2d8 commit c2103e1

File tree

5 files changed

+196
-225
lines changed

5 files changed

+196
-225
lines changed

parse/src/main/java/com/parse/CachedCurrentInstallationController.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ class CachedCurrentInstallationController
2323
* while holding this current installation lock. (We used to use the ParseInstallation.class lock,
2424
* but moved on to an explicit lock object since anyone could acquire the ParseInstallation.class
2525
* lock as ParseInstallation is a public class.) Acquiring the instance mutex while holding this
26-
* current installation lock will lead to a deadlock. Here is an example:
27-
* https://phabricator.fb.com/P3251091
26+
* current installation lock will lead to a deadlock.
2827
*/
2928
private final Object mutex = new Object();
3029

parse/src/main/java/com/parse/CachedCurrentUserController.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ class CachedCurrentUserController implements ParseCurrentUserController {
2222
* Note about lock ordering:
2323
* <p>
2424
* You must NOT acquire the ParseUser instance mutex (the "mutex" field in ParseObject) while
25-
* holding this static initialization lock. Doing so will cause a deadlock. Here's an example:
26-
* https://phabricator.fb.com/P17182641
25+
* holding this static initialization lock. Doing so will cause a deadlock.
2726
*/
2827
private final Object mutex = new Object();
2928
private final TaskQueue taskQueue = new TaskQueue();

0 commit comments

Comments
 (0)