OSDN Git Service

Remove untrue tip about zero-length arrays.
authorJesse Wilson <jessewilson@google.com>
Fri, 18 Nov 2011 20:02:15 +0000 (15:02 -0500)
committerJesse Wilson <jessewilson@google.com>
Fri, 18 Nov 2011 20:02:15 +0000 (15:02 -0500)
Change-Id: I45ee2d603c1286c96acaa35d0c0fc28ecda47cef

docs/html/guide/topics/data/backup.jd

index dec2146..477fef9 100644 (file)
@@ -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];