diff options
author | Jesse Wilson <jessewilson@google.com> | 2011-11-18 15:02:15 -0500 |
---|---|---|
committer | Jesse Wilson <jessewilson@google.com> | 2011-11-18 15:02:15 -0500 |
commit | 59346fc4e8cfd9fb539f43c68ff687f07eadbe4e (patch) | |
tree | 05ec70c875fefd9d6c91ea6c42e5f61e5ebaed0d /docs/html | |
parent | be3bf963c4e05985dd88d4ed91ce3d7810a6e110 (diff) | |
download | frameworks_base-59346fc4e8cfd9fb539f43c68ff687f07eadbe4e.zip frameworks_base-59346fc4e8cfd9fb539f43c68ff687f07eadbe4e.tar.gz frameworks_base-59346fc4e8cfd9fb539f43c68ff687f07eadbe4e.tar.bz2 |
Remove untrue tip about zero-length arrays.
Change-Id: I45ee2d603c1286c96acaa35d0c0fc28ecda47cef
Diffstat (limited to 'docs/html')
-rw-r--r-- | docs/html/guide/topics/data/backup.jd | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/docs/html/guide/topics/data/backup.jd b/docs/html/guide/topics/data/backup.jd index dec2146..477fef9 100644 --- a/docs/html/guide/topics/data/backup.jd +++ b/docs/html/guide/topics/data/backup.jd @@ -708,14 +708,6 @@ you must use synchronized statements each time you perform a read or write. For in any Activity where you read and write the file, you need an object to use as the intrinsic lock for the synchronized statements:</p> -<div class="sidebox-wrapper"> -<div class="sidebox"> -<p><strong>Interesting Fact:</strong></p> -<p>A zero-length array is lighter-weight than a normal Object, so it's great for an -intrinsic lock.</p> -</div> -</div> - <pre> // Object for intrinsic lock static final Object[] sDataLock = new Object[0]; |