From 59346fc4e8cfd9fb539f43c68ff687f07eadbe4e Mon Sep 17 00:00:00 2001
From: Jesse Wilson
Date: Fri, 18 Nov 2011 15:02:15 -0500
Subject: Remove untrue tip about zero-length arrays.
Change-Id: I45ee2d603c1286c96acaa35d0c0fc28ecda47cef
---
docs/html/guide/topics/data/backup.jd | 8 --------
1 file changed, 8 deletions(-)
(limited to 'docs/html')
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:
-
-
-
Interesting Fact:
-
A zero-length array is lighter-weight than a normal Object, so it's great for an
-intrinsic lock.
-
-
-
// Object for intrinsic lock
static final Object[] sDataLock = new Object[0];
--
cgit v1.1