From eb337054edef31c9bdab4a59913f42038d5deaae Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Thu, 24 Oct 2013 15:56:04 -0700 Subject: [PATCH] fix javadocs. Change-Id: Ie008e28db0d3de22c933b4ef1ccbd3f082010a77 --- core/java/android/speech/tts/RequestConfig.java | 6 +++--- core/java/android/speech/tts/SynthesisCallback.java | 6 +++--- core/java/android/speech/tts/TextToSpeech.java | 2 +- core/java/android/speech/tts/TextToSpeechClient.java | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/core/java/android/speech/tts/RequestConfig.java b/core/java/android/speech/tts/RequestConfig.java index 97572ddbba8d5..8b761b563969e 100644 --- a/core/java/android/speech/tts/RequestConfig.java +++ b/core/java/android/speech/tts/RequestConfig.java @@ -7,7 +7,7 @@ import android.os.Bundle; * Synthesis request configuration. * * This class is immutable, and can only be constructed using - * @link{RequestConfig.Builder}. + * {@link RequestConfig.Builder}. */ public final class RequestConfig { @@ -54,12 +54,12 @@ public final class RequestConfig { * * @param paramName * The name of the parameter. It has to be one of the keys - * from @{link VoiceInfo.getParamsWithDefaults()} + * from {@link VoiceInfo#getParamsWithDefaults()} * @param value * Value of the parameter. Its type can be one of: Integer, Float, * Boolean, String, VoiceInfo (will be set as an Integer, result of a call to * the {@link VoiceInfo#getId()}) or byte[]. It has to be of the same type - * as the default value from @{link VoiceInfo.getParamsWithDefaults()} + * as the default value from {@link VoiceInfo#getParamsWithDefaults()} * for that parameter. * @throws IllegalArgumentException * If paramName is not a valid parameter name or its value is of a wrong diff --git a/core/java/android/speech/tts/SynthesisCallback.java b/core/java/android/speech/tts/SynthesisCallback.java index 5c67442484f01..6037de27091d2 100644 --- a/core/java/android/speech/tts/SynthesisCallback.java +++ b/core/java/android/speech/tts/SynthesisCallback.java @@ -107,7 +107,7 @@ public interface SynthesisCallback { * {@link TextToSpeechService#onSynthesizeTextV2}. * * @param errorCode Error code to pass to the client. One of the ERROR_ values from - * @{link android.sppech.tts.v2.TextToSpeechClient.Status} + * {@link TextToSpeechClient.Status} */ public void error(int errorCode); @@ -132,7 +132,7 @@ public interface SynthesisCallback { public int fallback(); /** - * Check if @{link #start} was called or not. + * Check if {@link #start} was called or not. * * This method should only be called on the synthesis thread, * while in {@link TextToSpeechService#onSynthesizeText} or @@ -143,7 +143,7 @@ public interface SynthesisCallback { public boolean hasStarted(); /** - * Check if @{link #done} was called or not. + * Check if {@link #done} was called or not. * * This method should only be called on the synthesis thread, * while in {@link TextToSpeechService#onSynthesizeText} or diff --git a/core/java/android/speech/tts/TextToSpeech.java b/core/java/android/speech/tts/TextToSpeech.java index 8fecf9e53d752..02152fbec3f56 100644 --- a/core/java/android/speech/tts/TextToSpeech.java +++ b/core/java/android/speech/tts/TextToSpeech.java @@ -54,7 +54,7 @@ import java.util.Set; * When you are done using the TextToSpeech instance, call the {@link #shutdown()} method * to release the native resources used by the TextToSpeech engine. * - * @deprecated Use @{link android.speech.tts.v2.TextToSpeechClient} instead + * @deprecated Use {@link TextToSpeechClient} instead */ @Deprecated public class TextToSpeech { diff --git a/core/java/android/speech/tts/TextToSpeechClient.java b/core/java/android/speech/tts/TextToSpeechClient.java index ac6092349ec8d..65a68e72d8d5f 100644 --- a/core/java/android/speech/tts/TextToSpeechClient.java +++ b/core/java/android/speech/tts/TextToSpeechClient.java @@ -617,7 +617,7 @@ public final class TextToSpeechClient { } /** - * Retrieve TTS engine status @{link VoicesStatus}. Requires connected client. + * Retrieve TTS engine status {@link EngineStatus}. Requires connected client. */ public EngineStatus getEngineStatus() { synchronized (mLock) {