From 4e8620f868e2490782ebb960404140ea9482c91d Mon Sep 17 00:00:00 2001 From: Ben Dodson Date: Wed, 25 Aug 2010 10:55:47 -0700 Subject: Updated documentation for upcoming fix for @code tags Change-Id: Id7b163179132b9cf180afecb4e9e10ee39bcd415 --- core/java/android/net/Uri.java | 8 ++++---- core/java/android/speech/SpeechRecognizer.java | 2 +- core/java/android/webkit/WebView.java | 6 +++--- core/java/android/widget/ImageButton.java | 4 ++-- core/java/com/android/internal/util/TypedProperties.java | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) (limited to 'core/java') diff --git a/core/java/android/net/Uri.java b/core/java/android/net/Uri.java index 63adcd0..6f4144b 100644 --- a/core/java/android/net/Uri.java +++ b/core/java/android/net/Uri.java @@ -1253,14 +1253,14 @@ public abstract class Uri implements Parcelable, Comparable { * concurrent use. * *

An absolute hierarchical URI reference follows the pattern: - * {@code <scheme>://<authority><absolute path>?<query>#<fragment>} + * {@code ://?#} * *

Relative URI references (which are always hierarchical) follow one - * of two patterns: {@code <relative or absolute path>?<query>#<fragment>} - * or {@code //<authority><absolute path>?<query>#<fragment>} + * of two patterns: {@code ?#} + * or {@code //?#} * *

An opaque URI follows this pattern: - * {@code <scheme>:<opaque part>#<fragment>} + * {@code :#} */ public static final class Builder { diff --git a/core/java/android/speech/SpeechRecognizer.java b/core/java/android/speech/SpeechRecognizer.java index 8fa0d59..cd73ba8 100644 --- a/core/java/android/speech/SpeechRecognizer.java +++ b/core/java/android/speech/SpeechRecognizer.java @@ -50,7 +50,7 @@ public class SpeechRecognizer { private static final String TAG = "SpeechRecognizer"; /** - * Used to retrieve an {@code ArrayList<String>} from the {@link Bundle} passed to the + * Used to retrieve an {@code ArrayList} from the {@link Bundle} passed to the * {@link RecognitionListener#onResults(Bundle)} and * {@link RecognitionListener#onPartialResults(Bundle)} methods. These strings are the possible * recognition results, where the first element is the most likely candidate. diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index 682319f..9597d8c 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -117,7 +117,7 @@ import java.util.Set; *

<uses-permission android:name="android.permission.INTERNET" />
* *

This must be a child of the {@code <manifest>} + * href="{@docRoot}guide/topics/manifest/manifest-element.html">{@code } * element.

* *

See the Web View @@ -140,7 +140,7 @@ import java.util.Set; * *

See {@link android.content.Intent} for more information.

* - *

To provide a WebView in your own Activity, include a {@code <WebView>} in your layout, + *

To provide a WebView in your own Activity, include a {@code } in your layout, * or set the entire Activity window as a WebView during {@link * android.app.Activity#onCreate(Bundle) onCreate()}:

*
@@ -287,7 +287,7 @@ import java.util.Set;
  * low density screens scale down. This is also the default behavior.
  * 
  • {@code low-dpi} - Use ldpi as the target dpi. Medium and high density screens scale up * as appropriate.
  • - *
  • {@code <value>} - Specify a dpi value to use as the target dpi (accepted + *
  • {@code } - Specify a dpi value to use as the target dpi (accepted * values are 70-400).
  • * *

    Here's an example meta tag to specify the target density:

    diff --git a/core/java/android/widget/ImageButton.java b/core/java/android/widget/ImageButton.java index 12a68db..d680fad 100644 --- a/core/java/android/widget/ImageButton.java +++ b/core/java/android/widget/ImageButton.java @@ -32,7 +32,7 @@ import java.util.Map; * {@link android.widget.Button}, with the standard button background * that changes color during different button states. The image on the surface * of the button is defined either by the {@code android:src} attribute in the - * {@code <ImageButton>} XML element or by the + * {@code } XML element or by the * {@link #setImageResource(int)} method.

    * *

    To remove the standard button background image, define your own @@ -57,7 +57,7 @@ import java.util.Map; * based on the state of the button and the corresponding images * defined in the XML.

    * - *

    The order of the {@code <item>} elements is important because they are + *

    The order of the {@code } elements is important because they are * evaluated in order. This is why the "normal" button image comes last, because * it will only be applied after {@code android:state_pressed} and {@code * android:state_focused} have both evaluated false.

    diff --git a/core/java/com/android/internal/util/TypedProperties.java b/core/java/com/android/internal/util/TypedProperties.java index c2ce210..5613999 100644 --- a/core/java/com/android/internal/util/TypedProperties.java +++ b/core/java/com/android/internal/util/TypedProperties.java @@ -412,7 +412,7 @@ public class TypedProperties extends HashMap { */ /** - * An unchecked exception that is thrown if a {@code get<TYPE>()} method + * An unchecked exception that is thrown if a {@code get()} method * is used to retrieve a parameter whose type does not match the method name. */ public static class TypeException extends IllegalArgumentException { -- cgit v1.1