You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: google-api-client/src/main/java/com/google/api/client/googleapis/services/AbstractGoogleClientRequest.java
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@
37
37
importcom.google.api.client.http.UriTemplate;
38
38
importcom.google.api.client.util.GenericData;
39
39
importcom.google.api.client.util.Preconditions;
40
+
importcom.google.common.base.Joiner;
40
41
importjava.io.IOException;
41
42
importjava.io.InputStream;
42
43
importjava.io.OutputStream;
@@ -164,6 +165,16 @@ static class ApiClientVersion {
164
165
}
165
166
166
167
publicStringtoString() {
168
+
// When running the application as a native image, append `-graalvm` to the
Copy file name to clipboardExpand all lines: google-api-client/src/test/java/com/google/api/client/googleapis/services/AbstractGoogleClientRequestTest.java
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -261,6 +261,14 @@ public void testSetsApiClientHeaderWithOsVersion() {
261
261
assertTrue("Api version should contain the os version", version.matches(".* my-os/1.2.3"));
0 commit comments