summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJihoon Kang <jihoonkang@google.com>2023-10-12 01:35:02 +0000
committerCherrypicker Worker <android-build-cherrypicker-worker@google.com>2023-10-12 22:04:17 +0000
commitf272e21eb9c896d3626bbe033396a6765dc00a1f (patch)
tree3730e8e911c314cc7a8d562fdab0fd319756daa5
parent827b162acb617de0199f90bdd9150011adbe8e72 (diff)
downloadapache-http-f272e21eb9c896d3626bbe033396a6765dc00a1f.tar.gz
Add additional overriding methods to signature files
This change adds overriding methods that are essential to compile the stubs generated from the signature files. More information and the background for this change is available at go/add-overriding-one-pager. Test: m checkbuild --build-from-text-stub Bug: 299366704 (cherry picked from https://android-review.googlesource.com/q/commit:6131efddce0957c0240b9bf4331e021540a3ac4a) Merged-In: I301ec87464be4fa89380b2ccb8b8b305676ec67f Change-Id: I301ec87464be4fa89380b2ccb8b8b305676ec67f
-rw-r--r--api/current.txt8
-rw-r--r--api/removed.txt2
2 files changed, 6 insertions, 4 deletions
diff --git a/api/current.txt b/api/current.txt
index a6f3a96..30104c9 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -1,6 +1,4 @@
// Signature format: 2.0
-// - add-additional-overrides=no
-// - migrating=Migration in progress see b/299366704
package android.net.compatibility {
public class WebAddress {
@@ -1229,7 +1227,10 @@ package org.apache.http.auth {
@Deprecated public final class BasicUserPrincipal implements java.security.Principal {
ctor @Deprecated public BasicUserPrincipal(String);
+ method @Deprecated public boolean equals(Object);
method @Deprecated public String getName();
+ method @Deprecated public int hashCode();
+ method @Deprecated public String toString();
}
@Deprecated public interface Credentials {
@@ -1261,9 +1262,12 @@ package org.apache.http.auth {
@Deprecated public class NTUserPrincipal implements java.security.Principal {
ctor @Deprecated public NTUserPrincipal(String, String);
+ method @Deprecated public boolean equals(Object);
method @Deprecated public String getDomain();
method @Deprecated public String getName();
method @Deprecated public String getUsername();
+ method @Deprecated public int hashCode();
+ method @Deprecated public String toString();
}
@Deprecated public class UsernamePasswordCredentials implements org.apache.http.auth.Credentials {
diff --git a/api/removed.txt b/api/removed.txt
index 14191eb..d802177 100644
--- a/api/removed.txt
+++ b/api/removed.txt
@@ -1,3 +1 @@
// Signature format: 2.0
-// - add-additional-overrides=no
-// - migrating=Migration in progress see b/299366704