Skip to content
Permalink
Browse files
fix: make google-http-client.properties file shading friendly (#1046)
  • Loading branch information
medb committed Oct 13, 2020
1 parent 9ab7016 commit 860bb0541bcd7fc516cad14dd0d52481c7c7b414
@@ -1224,7 +1224,8 @@ private static String getVersion() {
// this value should be read and cached for later use
String version = "unknown-version";
try (InputStream inputStream =
HttpRequest.class.getResourceAsStream("/google-http-client.properties")) {
HttpRequest.class.getResourceAsStream(
"/com/google/api/client/http/google-http-client.properties")) {
if (inputStream != null) {
final Properties properties = new Properties();
properties.load(inputStream);

0 comments on commit 860bb05

Please sign in to comment.