8000 http: don't need Guava in proguard config · robccan/google-http-java-client@dd6e418 · GitHub
[go: up one dir, main page]

Skip to content

Commit dd6e418

Browse files
author
Yaniv Inbar
committed
http: don't need Guava in proguard config
https://codereview.appspot.com/7303055/
1 parent 75f0c27 commit dd6e418

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

google-http-client-assembly/proguard-google-http-client.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@
1010
@com.google.api.client.util.Key <fields>;
1111
}
1212

13-
# Needed by Guava
14-
# See https://groups.google.com/forum/#!topic/guava-discuss/YCZzeCiIVoI
15-
16-
-dontwarn sun.misc.Unsafe
17-
-dontwarn com.google.common.collect.MinMaxPriorityQueue
18-
1913
# Needed by google-http-client-android when linking against an older platform version
2014

2115
-dontwarn com.google.api.client.extensions.android.**

google-http-client/src/test/java/com/google/api/client/http/HttpResponseExceptionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public LowLevelHttpResponse execute() throws IOException {
152152
public void testComputeMessage() throws Exception {
153153
HttpTransport transport = new MockHttpTransport() {
154154
@Override
155-
public LowLevelHttpRequest buildGetRequest(String url) throws IOException {
155+
public LowLevelHttpRequest buildRequest(String method, String url) throws IOException {
156156
return new MockLowLevelHttpRequest() {
157157
@Override
158158
public LowLevelHttpResponse execute() throws IOException {

0 commit comments

Comments
 (0)
0