diff options
author | Jesse Wilson <jessewilson@google.com> | 2010-11-04 14:09:18 -0700 |
---|---|---|
committer | Jesse Wilson <jessewilson@google.com> | 2010-11-09 10:10:11 -0800 |
commit | 28c742573ccaeb55c16bc02fb25fdd86b8d1f76a (patch) | |
tree | 04b5c7321183c1353495fa294c2f605256762c8c /core/java/android/net | |
parent | 9eb48bb2b1627ef8182d260f8b3fd080c57bed4d (diff) | |
download | frameworks_base-28c742573ccaeb55c16bc02fb25fdd86b8d1f76a.zip frameworks_base-28c742573ccaeb55c16bc02fb25fdd86b8d1f76a.tar.gz frameworks_base-28c742573ccaeb55c16bc02fb25fdd86b8d1f76a.tar.bz2 |
Add @Deprecated to match @deprecated where it's missing.
Change-Id: Ice95022671968386a601f32df7850f9baa1d2dd0
Diffstat (limited to 'core/java/android/net')
-rw-r--r-- | core/java/android/net/SSLCertificateSocketFactory.java | 1 | ||||
-rw-r--r-- | core/java/android/net/http/SslCertificate.java | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/net/SSLCertificateSocketFactory.java b/core/java/android/net/SSLCertificateSocketFactory.java index b822b27..63ac21f 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 c29926c..30f25a2 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); } |