Skip to content

Commit a45746e

Browse files
whydoubtscottamain
authored andcommitted
Fix several cases of broken droiddoc syntax
external issue 35214 patch contributed by Jeff Smith <whydoubt@yahoo.com> Change-Id: I70dcee88a140699bf3e1ab369bed6dcd2fdd3d83
1 parent 2f5b61a commit a45746e

File tree

16 files changed

+21
-21
lines changed

16 files changed

+21
-21
lines changed

core/java/android/content/BroadcastReceiver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ public final PendingResult getPendingResult() {
735735

736736
/**
737737
* Control inclusion of debugging help for mismatched
738-
* calls to {@ Context#registerReceiver(BroadcastReceiver, IntentFilter)
738+
* calls to {@link Context#registerReceiver(BroadcastReceiver, IntentFilter)
739739
* Context.registerReceiver()}.
740740
* If called with true, before given to registerReceiver(), then the
741741
* callstack of the following {@link Context#unregisterReceiver(BroadcastReceiver)

core/java/android/content/pm/PackageManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1610,7 +1610,7 @@ public abstract int getUidForSharedUser(String sharedUserName)
16101610
*
16111611
* @param flags Additional option flags. Use any combination of
16121612
* {@link #GET_META_DATA}, {@link #GET_SHARED_LIBRARY_FILES},
1613-
* {link #GET_UNINSTALLED_PACKAGES} to modify the data returned.
1613+
* {@link #GET_UNINSTALLED_PACKAGES} to modify the data returned.
16141614
*
16151615
* @return A List of ApplicationInfo objects, one for each application that
16161616
* is installed on the device. In the unlikely case of there being

core/java/android/net/DummyDataStateTracker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public boolean teardown() {
123123
* Record the detailed state of a network, and if it is a
124124
* change from the previous state, send a notification to
125125
* any listeners.
126-
* @param state the new @{code DetailedState}
126+
* @param state the new {@code DetailedState}
127127
* @param reason a {@code String} indicating a reason for the state change,
128128
* if one was supplied. May be {@code null}.
129129
* @param extraInfo optional {@code String} providing extra information about the state change

core/java/android/net/MobileDataStateTracker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ public boolean teardown() {
376376
* Record the detailed state of a network, and if it is a
377377
* change from the previous state, send a notification to
378378
* any listeners.
379-
* @param state the new @{code DetailedState}
379+
* @param state the new {@code DetailedState}
380380
* @param reason a {@code String} indicating a reason for the state change,
381381
* if one was supplied. May be {@code null}.
382382
* @param extraInfo optional {@code String} providing extra information about the state change

core/java/android/nfc/NdefRecord.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
* indicate location with an NDEF message, provide support for chunking of
7171
* NDEF records, and to pack optional fields. This class does not expose
7272
* those details. To write an NDEF Record as binary you must first put it
73-
* into an @{link NdefMessage}, then call {@link NdefMessage#toByteArray()}.
73+
* into an {@link NdefMessage}, then call {@link NdefMessage#toByteArray()}.
7474
* <p class="note">
7575
* {@link NdefMessage} and {@link NdefRecord} implementations are
7676
* always available, even on Android devices that do not have NFC hardware.

core/java/android/os/storage/StorageManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ void sendStorageStateChanged(String path, String oldState, String newState) {
289289
* Constructs a StorageManager object through which an application can
290290
* can communicate with the systems mount service.
291291
*
292-
* @param tgtLooper The {@android.os.Looper} which events will be received on.
292+
* @param tgtLooper The {@link android.os.Looper} which events will be received on.
293293
*
294294
* <p>Applications can get instance of this class by calling
295295
* {@link android.content.Context#getSystemService(java.lang.String)} with an argument

core/java/android/view/SurfaceHolder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public interface Callback2 extends Callback {
155155

156156
/**
157157
* Make the surface a fixed size. It will never change from this size.
158-
* When working with a {link SurfaceView}, this must be called from the
158+
* When working with a {@link SurfaceView}, this must be called from the
159159
* same thread running the SurfaceView's window.
160160
*
161161
* @param width The surface's width.
@@ -167,14 +167,14 @@ public interface Callback2 extends Callback {
167167
* Allow the surface to resized based on layout of its container (this is
168168
* the default). When this is enabled, you should monitor
169169
* {@link Callback#surfaceChanged} for changes to the size of the surface.
170-
* When working with a {link SurfaceView}, this must be called from the
170+
* When working with a {@link SurfaceView}, this must be called from the
171171
* same thread running the SurfaceView's window.
172172
*/
173173
public void setSizeFromLayout();
174174

175175
/**
176176
* Set the desired PixelFormat of the surface. The default is OPAQUE.
177-
* When working with a {link SurfaceView}, this must be called from the
177+
* When working with a {@link SurfaceView}, this must be called from the
178178
* same thread running the SurfaceView's window.
179179
*
180180
* @param format A constant from PixelFormat.

core/java/android/view/View.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2362,7 +2362,7 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal
23622362
* with a stable layout. (Note that you should avoid using
23632363
* {@link #SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION} by itself.)
23642364
*
2365-
* If you have set the window flag {@ WindowManager.LayoutParams#FLAG_FULLSCREEN}
2365+
* If you have set the window flag {@link WindowManager.LayoutParams#FLAG_FULLSCREEN}
23662366
* to hide the status bar (instead of using {@link #SYSTEM_UI_FLAG_FULLSCREEN}),
23672367
* then a hidden status bar will be considered a "stable" state for purposes
23682368
* here. This allows your UI to continually hide the status bar, while still

core/java/android/view/ViewGroup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5206,7 +5206,7 @@ public boolean addStatesFromChildren() {
52065206
}
52075207

52085208
/**
5209-
* If {link #addStatesFromChildren} is true, refreshes this group's
5209+
* If {@link #addStatesFromChildren} is true, refreshes this group's
52105210
* drawable state (to include the states from its children).
52115211
*/
52125212
public void childDrawableStateChanged(View child) {

core/java/android/view/textservice/TextServicesManager.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ public static TextServicesManager getInstance() {
9191

9292
/**
9393
* Get a spell checker session for the specified spell checker
94-
* @param locale the locale for the spell checker. If {@param locale} is null and
94+
* @param locale the locale for the spell checker. If {@code locale} is null and
9595
* referToSpellCheckerLanguageSettings is true, the locale specified in Settings will be
96-
* returned. If {@param locale} is not null and referToSpellCheckerLanguageSettings is true,
97-
* the locale specified in Settings will be returned only when it is same as {@param locale}.
98-
* Exceptionally, when referToSpellCheckerLanguageSettings is true and {@param locale} is
96+
* returned. If {@code locale} is not null and referToSpellCheckerLanguageSettings is true,
97+
* the locale specified in Settings will be returned only when it is same as {@code locale}.
98+
* Exceptionally, when referToSpellCheckerLanguageSettings is true and {@code locale} is
9999
* only language (e.g. "en"), the specified locale in Settings (e.g. "en_US") will be
100100
* selected.
101101
* @param listener a spell checker session lister for getting results from a spell checker.

0 commit comments

Comments
 (0)