summaryrefslogtreecommitdiffstats
path: root/core/java/android/webkit/WebResourceResponse.java
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-04-24 23:12:47 +0100
committerSteve Block <steveblock@google.com>2012-04-26 13:59:52 +0100
commit4e584df4cee8334bc371c04a67bcd0a32e2f9480 (patch)
treeb3fcc91f5dbdd62acd44cf6dc22803be8e42a533 /core/java/android/webkit/WebResourceResponse.java
parente9e260fbc0892885790eeccb4d803f7d81f261aa (diff)
downloadframeworks_base-4e584df4cee8334bc371c04a67bcd0a32e2f9480.zip
frameworks_base-4e584df4cee8334bc371c04a67bcd0a32e2f9480.tar.gz
frameworks_base-4e584df4cee8334bc371c04a67bcd0a32e2f9480.tar.bz2
Fix JavaDoc style for several WebView classes
This fixes the JavaDoc style for the following classes ... - CacheManager.java - CookieManager.java - GeolocationPermissions.java - WebResourceResponse.java - WebSettings.java - WebStorage.java - WebView.java In particular, this applies the guidelines at https://wiki.corp.google.com/twiki/bin/view/Main/APIDocumentation This should help to ensure that future JavaDoc comments use correct style, rather than using incorrect style for consistency. Note that this change does not attempt to improve the content of the JavaDoc comments. This will be done in later changes. Bug: 5461416 Change-Id: I79e9b15a8cf3597195d58e154a7eb1bcc462944c
Diffstat (limited to 'core/java/android/webkit/WebResourceResponse.java')
-rw-r--r--core/java/android/webkit/WebResourceResponse.java25
1 files changed, 16 insertions, 9 deletions
diff --git a/core/java/android/webkit/WebResourceResponse.java b/core/java/android/webkit/WebResourceResponse.java
index 650310e..b7171ee 100644
--- a/core/java/android/webkit/WebResourceResponse.java
+++ b/core/java/android/webkit/WebResourceResponse.java
@@ -36,9 +36,10 @@ public class WebResourceResponse {
* input stream. Callers must implement
* {@link InputStream#read(byte[]) InputStream.read(byte[])} for the input
* stream.
- * @param mimeType The resource response's MIME type, for example text/html
- * @param encoding The resource response's encoding
- * @param data The input stream that provides the resource response's data
+ *
+ * @param mimeType the resource response's MIME type, for example text/html
+ * @param encoding the resource response's encoding
+ * @param data the input stream that provides the resource response's data
*/
public WebResourceResponse(String mimeType, String encoding,
InputStream data) {
@@ -49,7 +50,8 @@ public class WebResourceResponse {
/**
* Sets the resource response's MIME type, for example text/html.
- * @param mimeType The resource response's MIME type
+ *
+ * @param mimeType the resource response's MIME type
*/
public void setMimeType(String mimeType) {
mMimeType = mimeType;
@@ -57,7 +59,8 @@ public class WebResourceResponse {
/**
* Gets the resource response's MIME type.
- * @return The resource response's MIME type
+ *
+ * @return the resource response's MIME type
*/
public String getMimeType() {
return mMimeType;
@@ -66,7 +69,8 @@ public class WebResourceResponse {
/**
* Sets the resource response's encoding, for example UTF-8. This is used
* to decode the data from the input stream.
- * @param encoding The resource response's encoding
+ *
+ * @param encoding the resource response's encoding
*/
public void setEncoding(String encoding) {
mEncoding = encoding;
@@ -74,7 +78,8 @@ public class WebResourceResponse {
/**
* Gets the resource response's encoding.
- * @return The resource response's encoding
+ *
+ * @return the resource response's encoding
*/
public String getEncoding() {
return mEncoding;
@@ -83,7 +88,8 @@ public class WebResourceResponse {
/**
* Sets the input stream that provides the resource respone's data. Callers
* must implement {@link InputStream#read(byte[]) InputStream.read(byte[])}.
- * @param data The input stream that provides the resource response's data
+ *
+ * @param data the input stream that provides the resource response's data
*/
public void setData(InputStream data) {
mInputStream = data;
@@ -91,7 +97,8 @@ public class WebResourceResponse {
/**
* Gets the input stream that provides the resource respone's data.
- * @return The input stream that provides the resource response's data
+ *
+ * @return the input stream that provides the resource response's data
*/
public InputStream getData() {
return mInputStream;