Merge "docs: Removed all instances of "i.e." in IntentFilter parameter descriptions." into nyc-dev

This commit is contained in:
Kevin Hufnagle
2016-09-26 22:54:25 +00:00
committed by Android (Google) Code Review

View File

@@ -358,8 +358,8 @@ public class IntentFilter implements Parcelable {
* the {@link MalformedMimeTypeException} exception that the constructor * the {@link MalformedMimeTypeException} exception that the constructor
* can call and turns it into a runtime exception. * can call and turns it into a runtime exception.
* *
* @param action The action to match, i.e. Intent.ACTION_VIEW. * @param action The action to match, such as Intent.ACTION_VIEW.
* @param dataType The type to match, i.e. "vnd.android.cursor.dir/person". * @param dataType The type to match, such as "vnd.android.cursor.dir/person".
* *
* @return A new IntentFilter for the given action and type. * @return A new IntentFilter for the given action and type.
* *
@@ -386,7 +386,7 @@ public class IntentFilter implements Parcelable {
* no data characteristics are subsequently specified, then the * no data characteristics are subsequently specified, then the
* filter will only match intents that contain no data. * filter will only match intents that contain no data.
* *
* @param action The action to match, i.e. Intent.ACTION_MAIN. * @param action The action to match, such as Intent.ACTION_MAIN.
*/ */
public IntentFilter(String action) { public IntentFilter(String action) {
mPriority = 0; mPriority = 0;
@@ -406,8 +406,8 @@ public class IntentFilter implements Parcelable {
* <p>Throws {@link MalformedMimeTypeException} if the given MIME type is * <p>Throws {@link MalformedMimeTypeException} if the given MIME type is
* not syntactically correct. * not syntactically correct.
* *
* @param action The action to match, i.e. Intent.ACTION_VIEW. * @param action The action to match, such as Intent.ACTION_VIEW.
* @param dataType The type to match, i.e. "vnd.android.cursor.dir/person". * @param dataType The type to match, such as "vnd.android.cursor.dir/person".
* *
*/ */
public IntentFilter(String action, String dataType) public IntentFilter(String action, String dataType)
@@ -640,7 +640,7 @@ public class IntentFilter implements Parcelable {
* in the filter, then an Intent's action must be one of those values for * in the filter, then an Intent's action must be one of those values for
* it to match. If no actions are included, the Intent action is ignored. * it to match. If no actions are included, the Intent action is ignored.
* *
* @param action Name of the action to match, i.e. Intent.ACTION_VIEW. * @param action Name of the action to match, such as Intent.ACTION_VIEW.
*/ */
public final void addAction(String action) { public final void addAction(String action) {
if (!mActions.contains(action)) { if (!mActions.contains(action)) {
@@ -709,7 +709,7 @@ public class IntentFilter implements Parcelable {
* <p>Throws {@link MalformedMimeTypeException} if the given MIME type is * <p>Throws {@link MalformedMimeTypeException} if the given MIME type is
* not syntactically correct. * not syntactically correct.
* *
* @param type Name of the data type to match, i.e. "vnd.android.cursor.dir/person". * @param type Name of the data type to match, such as "vnd.android.cursor.dir/person".
* *
* @see #matchData * @see #matchData
*/ */
@@ -786,7 +786,7 @@ public class IntentFilter implements Parcelable {
* and any schemes you receive from outside of Android should be * and any schemes you receive from outside of Android should be
* converted to lower case before supplying them here.</em></p> * converted to lower case before supplying them here.</em></p>
* *
* @param scheme Name of the scheme to match, i.e. "http". * @param scheme Name of the scheme to match, such as "http".
* *
* @see #matchData * @see #matchData
*/ */
@@ -1352,7 +1352,7 @@ public class IntentFilter implements Parcelable {
* filter has no impact on matching unless that category is specified in * filter has no impact on matching unless that category is specified in
* the intent. * the intent.
* *
* @param category Name of category to match, i.e. Intent.CATEGORY_EMBED. * @param category Name of category to match, such as Intent.CATEGORY_EMBED.
*/ */
public final void addCategory(String category) { public final void addCategory(String category) {
if (mCategories == null) mCategories = new ArrayList<String>(); if (mCategories == null) mCategories = new ArrayList<String>();