summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Kevin Hufnagle <khufnagle@google.com> 2016-09-26 23:21:17 +0000
committer android-build-merger <android-build-merger@google.com> 2016-09-26 23:21:17 +0000
commit94267b18e7a6ee982abd2f0c97fb2cbb0fedede5 (patch)
tree74b7b1921c81b269882aa4c93f90e844d1ceea52
parent50fb6ebd19e8abd993c958b971a6ff275b31f3c6 (diff)
parent0355128699bb5e5124b27b498d3262652317c43b (diff)
docs: Fixed syntax error in "Content URI patterns" code sample
am: 0355128699 Change-Id: I9085b10687f521ad8706493cbdecc82b040a1402
-rwxr-xr-xdocs/html/guide/topics/providers/content-provider-creating.jd2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/guide/topics/providers/content-provider-creating.jd b/docs/html/guide/topics/providers/content-provider-creating.jd
index ec6909c89136..59dc108e3b36 100755
--- a/docs/html/guide/topics/providers/content-provider-creating.jd
+++ b/docs/html/guide/topics/providers/content-provider-creating.jd
@@ -460,7 +460,7 @@ public class ExampleProvider extends ContentProvider {
* present. Get the last path segment from the URI; this is the _ID value.
* Then, append the value to the WHERE clause for the query
*/
- selection = selection + "_ID = " uri.getLastPathSegment();
+ selection = selection + "_ID = " + uri.getLastPathSegment();
break;
default: