From fb53deca41ce2c7dbcfceb7a1d10f0b704ac9b65 Mon Sep 17 00:00:00 2001 From: Shrijana Ghimire Date: Mon, 11 Jun 2018 17:14:13 -0700 Subject: [PATCH] docs: Fixed typos in AdapterView Javadoc. Replaced the word 'as' with 'has' and replaced 'id' with 'if'. Test: make ds-docs Bug: 36946939 Change-Id: I05828e2ee20309556ffbf56cff0093183dabc088 --- core/java/android/widget/AdapterView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/widget/AdapterView.java b/core/java/android/widget/AdapterView.java index 6c192563658ec..4e77f0bf59b61 100644 --- a/core/java/android/widget/AdapterView.java +++ b/core/java/android/widget/AdapterView.java @@ -293,7 +293,7 @@ public abstract class AdapterView extends ViewGroup { /** * @return The callback to be invoked with an item in this AdapterView has - * been clicked, or null id no callback has been set. + * been clicked, or null if no callback has been set. */ @Nullable public final OnItemClickListener getOnItemClickListener() { @@ -365,7 +365,7 @@ public abstract class AdapterView extends ViewGroup { /** * @return The callback to be invoked with an item in this AdapterView has - * been clicked and held, or null id no callback as been set. + * been clicked and held, or null if no callback has been set. */ public final OnItemLongClickListener getOnItemLongClickListener() { return mOnItemLongClickListener;