OSDN Git Service

docs: Removed extraneous parens from article
authorEric Schmidt <erschmid@google.com>
Tue, 26 Jan 2016 21:47:11 +0000 (13:47 -0800)
committerEric Schmidt <erschmid@google.com>
Tue, 26 Jan 2016 21:47:11 +0000 (13:47 -0800)
Bug: 26196946
Change-Id: Ie47ee1244d1cc6c7225d1862886c43389f8e8164

docs/html/training/efficient-downloads/redundant_redundant.jd

index f77c8de..0825b5d 100644 (file)
@@ -37,7 +37,7 @@ next.link=connectivity_patterns.html
 
 <p>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.</p>
 
-<pre>long currentTime = System.currentTimeMillis());
+<pre>long currentTime = System.currentTimeMillis();
 
 HttpURLConnection conn = (HttpURLConnection) url.openConnection();
 
@@ -84,4 +84,4 @@ if (lastModified < lastUpdateTime) {
 
 <p>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.</p>
 
-<p>Uncached responses get stored in the response cache for future requests.</p>
\ No newline at end of file
+<p>Uncached responses get stored in the response cache for future requests.</p>