From e08e5ba0fd914e9dc462507f80528c6b211a61a2 Mon Sep 17 00:00:00 2001 From: Eric Schmidt Date: Tue, 26 Jan 2016 13:47:11 -0800 Subject: [PATCH] docs: Removed extraneous parens from article Bug: 26196946 Change-Id: Ie47ee1244d1cc6c7225d1862886c43389f8e8164 --- docs/html/training/efficient-downloads/redundant_redundant.jd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/html/training/efficient-downloads/redundant_redundant.jd b/docs/html/training/efficient-downloads/redundant_redundant.jd index f77c8de944746..0825b5dba8cb6 100644 --- a/docs/html/training/efficient-downloads/redundant_redundant.jd +++ b/docs/html/training/efficient-downloads/redundant_redundant.jd @@ -37,7 +37,7 @@ next.link=connectivity_patterns.html

To ensure that your caching doesn't result in your app displaying stale data, be sure to extract the time at which the requested content was last updated, and when it expires, from within the HTTP response headers. This will allow you to determine when the associated content should be refreshed.

-
long currentTime = System.currentTimeMillis());
+
long currentTime = System.currentTimeMillis();
 
 HttpURLConnection conn = (HttpURLConnection) url.openConnection();
 
@@ -84,4 +84,4 @@ if (lastModified < lastUpdateTime) {
 
 

With the cache installed, fully cached HTTP requests can be served directly from local storage, eliminating the need to open a network connection. Conditionally cached responses can validate their freshness from the server, eliminating the bandwidth cost associated with the download.

-

Uncached responses get stored in the response cache for future requests.

\ No newline at end of file +

Uncached responses get stored in the response cache for future requests.