diff options
| author | 2010-11-04 14:09:18 -0700 | |
|---|---|---|
| committer | 2010-11-09 10:10:11 -0800 | |
| commit | 28c742573ccaeb55c16bc02fb25fdd86b8d1f76a (patch) | |
| tree | 04b5c7321183c1353495fa294c2f605256762c8c | |
| parent | 9eb48bb2b1627ef8182d260f8b3fd080c57bed4d (diff) | |
Add @Deprecated to match @deprecated where it's missing.
Change-Id: Ice95022671968386a601f32df7850f9baa1d2dd0
| -rw-r--r-- | api/current.xml | 30 | ||||
| -rw-r--r-- | core/java/android/net/SSLCertificateSocketFactory.java | 1 | ||||
| -rw-r--r-- | core/java/android/net/http/SslCertificate.java | 3 | ||||
| -rw-r--r-- | core/java/android/util/EventLogTags.java | 1 | ||||
| -rw-r--r-- | core/java/android/webkit/WebSettings.java | 2 | ||||
| -rw-r--r-- | core/java/android/webkit/WebViewClient.java | 1 | ||||
| -rw-r--r-- | core/java/android/widget/ListView.java | 1 |
7 files changed, 24 insertions, 15 deletions
diff --git a/api/current.xml b/api/current.xml index fb3b998e5fe6..3b9ab1a0edfc 100644 --- a/api/current.xml +++ b/api/current.xml @@ -93863,7 +93863,7 @@ type="android.net.SSLCertificateSocketFactory" static="false" final="false" - deprecated="not deprecated" + deprecated="deprecated" visibility="public" > <parameter name="handshakeTimeoutMillis" type="int"> @@ -95963,7 +95963,7 @@ type="android.net.http.SslCertificate" static="false" final="false" - deprecated="not deprecated" + deprecated="deprecated" visibility="public" > <parameter name="issuedTo" type="java.lang.String"> @@ -96030,7 +96030,7 @@ synchronized="false" static="false" final="false" - deprecated="not deprecated" + deprecated="deprecated" visibility="public" > </method> @@ -96052,7 +96052,7 @@ synchronized="false" static="false" final="false" - deprecated="not deprecated" + deprecated="deprecated" visibility="public" > </method> @@ -172464,7 +172464,7 @@ abstract="false" static="false" final="false" - deprecated="not deprecated" + deprecated="deprecated" visibility="public" > <constructor name="EventLogTags" @@ -202795,7 +202795,7 @@ synchronized="true" static="false" final="false" - deprecated="not deprecated" + deprecated="deprecated" visibility="public" > </method> @@ -203341,7 +203341,7 @@ synchronized="true" static="false" final="false" - deprecated="not deprecated" + deprecated="deprecated" visibility="public" > <parameter name="flag" type="boolean"> @@ -205466,7 +205466,7 @@ synchronized="false" static="false" final="false" - deprecated="not deprecated" + deprecated="deprecated" visibility="public" > <parameter name="view" type="android.webkit.WebView"> @@ -213999,7 +213999,7 @@ synchronized="false" static="false" final="false" - deprecated="not deprecated" + deprecated="deprecated" visibility="public" > </method> @@ -411704,7 +411704,7 @@ abstract="true" static="false" final="false" - deprecated="not deprecated" + deprecated="deprecated" visibility="public" > <method name="getLength" @@ -412193,7 +412193,7 @@ abstract="true" static="false" final="false" - deprecated="not deprecated" + deprecated="deprecated" visibility="public" > <method name="characters" @@ -412408,7 +412408,7 @@ abstract="false" static="false" final="false" - deprecated="not deprecated" + deprecated="deprecated" visibility="public" > <implements name="org.xml.sax.DTDHandler"> @@ -412875,7 +412875,7 @@ abstract="true" static="false" final="false" - deprecated="not deprecated" + deprecated="deprecated" visibility="public" > <method name="parse" @@ -414307,7 +414307,7 @@ abstract="false" static="false" final="false" - deprecated="not deprecated" + deprecated="deprecated" visibility="public" > <implements name="org.xml.sax.AttributeList"> @@ -415796,7 +415796,7 @@ abstract="false" static="false" final="false" - deprecated="not deprecated" + deprecated="deprecated" visibility="public" > <method name="makeParser" diff --git a/core/java/android/net/SSLCertificateSocketFactory.java b/core/java/android/net/SSLCertificateSocketFactory.java index b822b27f98d3..63ac21f7cdb2 100644 --- a/core/java/android/net/SSLCertificateSocketFactory.java +++ b/core/java/android/net/SSLCertificateSocketFactory.java @@ -102,6 +102,7 @@ public class SSLCertificateSocketFactory extends SSLSocketFactory { private final boolean mSecure; /** @deprecated Use {@link #getDefault(int)} instead. */ + @Deprecated public SSLCertificateSocketFactory(int handshakeTimeoutMillis) { this(handshakeTimeoutMillis, null, true); } diff --git a/core/java/android/net/http/SslCertificate.java b/core/java/android/net/http/SslCertificate.java index c29926c04be8..30f25a2cd309 100644 --- a/core/java/android/net/http/SslCertificate.java +++ b/core/java/android/net/http/SslCertificate.java @@ -112,6 +112,7 @@ public class SslCertificate { * @param validNotAfter The not-after date from the certificate validity period in ISO 8601 format * @deprecated Use {@link #SslCertificate(String, String, Date, Date)} */ + @Deprecated public SslCertificate( String issuedTo, String issuedBy, String validNotBefore, String validNotAfter) { this(issuedTo, issuedBy, parseDate(validNotBefore), parseDate(validNotAfter)); @@ -157,6 +158,7 @@ public class SslCertificate { * * @deprecated Use {@link #getValidNotBeforeDate()} */ + @Deprecated public String getValidNotBefore() { return formatDate(mValidNotBefore); } @@ -175,6 +177,7 @@ public class SslCertificate { * * @deprecated Use {@link #getValidNotAfterDate()} */ + @Deprecated public String getValidNotAfter() { return formatDate(mValidNotAfter); } diff --git a/core/java/android/util/EventLogTags.java b/core/java/android/util/EventLogTags.java index 5cf5332a5622..8c18417286fd 100644 --- a/core/java/android/util/EventLogTags.java +++ b/core/java/android/util/EventLogTags.java @@ -29,6 +29,7 @@ import java.util.regex.Pattern; * @deprecated This class is no longer functional. * Use {@link android.util.EventLog} instead. */ +@Deprecated public class EventLogTags { public static class Description { public final int mTag; diff --git a/core/java/android/webkit/WebSettings.java b/core/java/android/webkit/WebSettings.java index da0c61b2dc51..4d70e7cddb78 100644 --- a/core/java/android/webkit/WebSettings.java +++ b/core/java/android/webkit/WebSettings.java @@ -1029,6 +1029,7 @@ public class WebSettings { * @deprecated This method has been deprecated in favor of * {@link #setPluginState} */ + @Deprecated public synchronized void setPluginsEnabled(boolean flag) { setPluginState(PluginState.ON); } @@ -1211,6 +1212,7 @@ public class WebSettings { * @return True if plugins are enabled. * @deprecated This method has been replaced by {@link #getPluginState} */ + @Deprecated public synchronized boolean getPluginsEnabled() { return mPluginState == PluginState.ON; } diff --git a/core/java/android/webkit/WebViewClient.java b/core/java/android/webkit/WebViewClient.java index 02c721009b10..1f8eeba9016c 100644 --- a/core/java/android/webkit/WebViewClient.java +++ b/core/java/android/webkit/WebViewClient.java @@ -89,6 +89,7 @@ public class WebViewClient { * @deprecated This method is no longer called. When the WebView encounters * a redirect loop, it will cancel the load. */ + @Deprecated public void onTooManyRedirects(WebView view, Message cancelMsg, Message continueMsg) { cancelMsg.sendToTarget(); diff --git a/core/java/android/widget/ListView.java b/core/java/android/widget/ListView.java index 82b7c4fb1393..e1a1894f9432 100644 --- a/core/java/android/widget/ListView.java +++ b/core/java/android/widget/ListView.java @@ -3626,6 +3626,7 @@ public class ListView extends AbsListView { * * @deprecated Use {@link #getCheckedItemIds()} instead. */ + @Deprecated public long[] getCheckItemIds() { // Use new behavior that correctly handles stable ID mapping. if (mAdapter != null && mAdapter.hasStableIds()) { |