diff options
author | Elliott Hughes <enh@google.com> | 2013-06-06 15:19:50 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-06-06 15:19:50 -0700 |
commit | 99b4489d0555c6e0e5df941cbfad4cf250c8f0b8 (patch) | |
tree | 9edf16fb8477c26937fb0b19b6f7f5885f2ce3f6 /libdvm/src | |
parent | 04d92ec6fd445613801688f45fa934cf39190605 (diff) | |
download | libcore-99b4489d0555c6e0e5df941cbfad4cf250c8f0b8.zip libcore-99b4489d0555c6e0e5df941cbfad4cf250c8f0b8.tar.gz libcore-99b4489d0555c6e0e5df941cbfad4cf250c8f0b8.tar.bz2 |
Fix @deprecated javadoc orthography.
Change-Id: I6db6d91e21b8e1aca5b5338534196fd5bdef8a06
Diffstat (limited to 'libdvm/src')
-rw-r--r-- | libdvm/src/main/java/java/lang/ClassLoader.java | 2 | ||||
-rw-r--r-- | libdvm/src/main/java/java/lang/String.java | 2 | ||||
-rw-r--r-- | libdvm/src/main/java/java/lang/Thread.java | 4 | ||||
-rw-r--r-- | libdvm/src/main/java/java/lang/ThreadGroup.java | 8 |
4 files changed, 8 insertions, 8 deletions
diff --git a/libdvm/src/main/java/java/lang/ClassLoader.java b/libdvm/src/main/java/java/lang/ClassLoader.java index dbad137..c6a8091 100644 --- a/libdvm/src/main/java/java/lang/ClassLoader.java +++ b/libdvm/src/main/java/java/lang/ClassLoader.java @@ -218,7 +218,7 @@ public abstract class ClassLoader { * if {@code offset < 0}, {@code length < 0} or if * {@code offset + length} is greater than the length of * {@code classRep}. - * @deprecated Use {@link #defineClass(String, byte[], int, int)} + * @deprecated Use {@link #defineClass(String, byte[], int, int)} instead. */ @Deprecated protected final Class<?> defineClass(byte[] classRep, int offset, int length) diff --git a/libdvm/src/main/java/java/lang/String.java b/libdvm/src/main/java/java/lang/String.java index 6be3f3c..78776db 100644 --- a/libdvm/src/main/java/java/lang/String.java +++ b/libdvm/src/main/java/java/lang/String.java @@ -791,7 +791,7 @@ outer: * @throws IndexOutOfBoundsException * if {@code start < 0}, {@code end > length()}, {@code index < * 0} or {@code end - start > data.length - index}. - * @deprecated Use {@link #getBytes()} or {@link #getBytes(String)} + * @deprecated Use {@link #getBytes()} or {@link #getBytes(String)} instead. */ @Deprecated public void getBytes(int start, int end, byte[] data, int index) { diff --git a/libdvm/src/main/java/java/lang/Thread.java b/libdvm/src/main/java/java/lang/Thread.java index cc0975f..ee4bdbe 100644 --- a/libdvm/src/main/java/java/lang/Thread.java +++ b/libdvm/src/main/java/java/lang/Thread.java @@ -1034,7 +1034,7 @@ public class Thread implements Runnable { * resumed if it was suspended and awakened if it was sleeping, so that it * can proceed to throw ThreadDeath. * - * @deprecated because stopping a thread in this manner is unsafe and can + * @deprecated Stopping a thread in this manner is unsafe and can * leave your application and the VM in an unpredictable state. */ @Deprecated @@ -1044,7 +1044,7 @@ public class Thread implements Runnable { /** * Throws {@code UnsupportedOperationException}. - * @deprecated because stopping a thread in this manner is unsafe and can + * @deprecated Stopping a thread in this manner is unsafe and can * leave your application and the VM in an unpredictable state. */ @Deprecated diff --git a/libdvm/src/main/java/java/lang/ThreadGroup.java b/libdvm/src/main/java/java/lang/ThreadGroup.java index e99e99f..7fc6b72 100644 --- a/libdvm/src/main/java/java/lang/ThreadGroup.java +++ b/libdvm/src/main/java/java/lang/ThreadGroup.java @@ -176,7 +176,7 @@ public class ThreadGroup implements Thread.UncaughtExceptionHandler { * @param b Used to control low memory implicit suspension * @return {@code true} (always) * - * @deprecated Required deprecated method suspend(). + * @deprecated Required deprecated method {@link #suspend()}. */ @Deprecated public boolean allowThreadSuspension(boolean b) { @@ -533,7 +533,7 @@ public class ThreadGroup implements Thread.UncaughtExceptionHandler { * @see Thread#resume * @see #suspend * - * @deprecated Requires deprecated method Thread.resume(). + * @deprecated Requires deprecated method {@link Thread#resume()}. */ @SuppressWarnings("deprecation") @Deprecated @@ -600,7 +600,7 @@ public class ThreadGroup implements Thread.UncaughtExceptionHandler { * @see Thread#stop(Throwable) * @see ThreadDeath * - * @deprecated Requires deprecated method Thread.stop(). + * @deprecated Requires deprecated method {@link Thread#stop()}. */ @SuppressWarnings("deprecation") @Deprecated @@ -638,7 +638,7 @@ public class ThreadGroup implements Thread.UncaughtExceptionHandler { * @see Thread#suspend * @see #resume * - * @deprecated Requires deprecated method Thread.suspend(). + * @deprecated Requires deprecated method {@link Thread#suspend()}. */ @SuppressWarnings("deprecation") @Deprecated |