Skip to content

Commit 860bb05

Browse files
authored
fix: make google-http-client.properties file shading friendly (#1046)
1 parent 9ab7016 commit 860bb05

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

google-http-client/src/main/java/com/google/api/client/http/HttpRequest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,8 @@ private static String getVersion() {
12241224
// this value should be read and cached for later use
12251225
String version = "unknown-version";
12261226
try (InputStream inputStream =
1227-
HttpRequest.class.getResourceAsStream("/google-http-client.properties")) {
1227+
HttpRequest.class.getResourceAsStream(
1228+
"/com/google/api/client/http/google-http-client.properties")) {
12281229
if (inputStream != null) {
12291230
final Properties properties = new Properties();
12301231
properties.load(inputStream);

0 commit comments

Comments
 (0)