1
0
mirror of https://github.com/google/nomulus synced 2026-07-19 14:32:44 +00:00

Refer to Datastore everywhere correctly by its capitalized form

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=147479683
This commit is contained in:
mcilwain
2017-02-14 09:11:30 -08:00
committed by Ben McIlwain
parent a8cf81bca2
commit cdadb54acd
123 changed files with 232 additions and 235 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ public class Lock extends ImmutableObject {
@Override
public void vrun() {
// To release a lock, check that no one else has already obtained it and if not delete it.
// If the lock in datastore was different then this lock is gone already; this can happen
// If the lock in Datastore was different then this lock is gone already; this can happen
// if release() is called around the expiration time and the lock expires underneath us.
Lock loadedLock = ofy().load().type(Lock.class).id(lockId).now();
if (Lock.this.equals(loadedLock)) {