Skip to content

Commit ca714dc

Browse files
committed
remove reflect-config.json
1 parent 5f249d7 commit ca714dc

File tree

2 files changed

+2
-68
lines changed

2 files changed

+2
-68
lines changed

google-http-client-apache-v5/src/main/resources/META-INF/native-image/com.google.http-client/google-http-client-apache-v5/reflect-config.json

Lines changed: 0 additions & 59 deletions
This file was deleted.

google-http-client-apache-v5/src/test/java/com/google/api/client/http/apache/v5/Apache5HttpTransportTest.java

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,8 @@ public class Apache5HttpTransportTest {
7171

7272
public void testRequest(HttpTransport transport) throws IOException {
7373
final String PROJECT_ID = System.getenv("PROJECT_ID");
74-
GoogleCredential credentials = null;
75-
76-
try {
77-
credentials = GoogleCredential.getApplicationDefault();
78-
} catch (IOException ex) {
79-
System.err.println(
80-
"Skipping test because no ADC is set. This is a temporary test meant for local development");
81-
}
82-
assumeTrue(credentials != null);
74+
assumeTrue(PROJECT_ID != null);
75+
GoogleCredential credentials = GoogleCredential.getApplicationDefault();
8376
GsonFactory jsonFactory = GsonFactory.getDefaultInstance();
8477
CloudResourceManager.Builder resourceManagerBuilder =
8578
new CloudResourceManager.Builder(transport, jsonFactory, credentials)

0 commit comments

Comments
 (0)