diff options
| author | 2011-11-19 09:09:58 -0800 | |
|---|---|---|
| committer | 2011-11-19 09:09:58 -0800 | |
| commit | 192d784e9439a1ed10ee95ca005a760d8bac160f (patch) | |
| tree | dafb7200c60fcc8405c36813b9d3341ddd93a3c2 | |
| parent | 3d0b23a58a7b2d499ed7bd6679b152289ec9a340 (diff) | |
| parent | ec527e5ecefd7ee36eb03fce00022a85a8c86377 (diff) | |
Merge "Fix the backups example to use a simpler lock."
| -rw-r--r-- | docs/html/guide/topics/data/backup.jd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/guide/topics/data/backup.jd b/docs/html/guide/topics/data/backup.jd index 477fef922058..79dfd883e39d 100644 --- a/docs/html/guide/topics/data/backup.jd +++ b/docs/html/guide/topics/data/backup.jd @@ -710,7 +710,7 @@ lock for the synchronized statements:</p> <pre> // Object for intrinsic lock -static final Object[] sDataLock = new Object[0]; +static final Object sDataLock = new Object(); </pre> <p>Then create a synchronized statement with this lock each time you read or write the files. For |