From 02e9b779944ce72bd21ccd6c1372d1147cf5bc7c Mon Sep 17 00:00:00 2001 From: Blake Li Date: Thu, 16 Apr 2026 17:55:06 -0400 Subject: [PATCH 1/3] chore: test CI --- .../src/main/java/com/google/api/gax/core/GaxProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/core/GaxProperties.java b/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/core/GaxProperties.java index b76cb6af8643..23eb5314e876 100644 --- a/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/core/GaxProperties.java +++ b/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/core/GaxProperties.java @@ -45,7 +45,7 @@ @InternalApi public class GaxProperties { - private static final String DEFAULT_VERSION = ""; + private static final String DEFAULT_VERSION = "0.0"; private static final String GAX_VERSION = getLibraryVersion(GaxProperties.class, "version.gax"); private static final String JAVA_VERSION = getRuntimeVersion(); private static final String PROTOBUF_VERSION = From f92bd38383dc6954cbe612b6981bfd1ad0c73642 Mon Sep 17 00:00:00 2001 From: Blake Li Date: Thu, 16 Apr 2026 18:32:21 -0400 Subject: [PATCH 2/3] Update GaxProperties.java --- .../src/main/java/com/google/api/gax/core/GaxProperties.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/core/GaxProperties.java b/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/core/GaxProperties.java index 23eb5314e876..bb3773075c8e 100644 --- a/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/core/GaxProperties.java +++ b/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/core/GaxProperties.java @@ -45,7 +45,7 @@ @InternalApi public class GaxProperties { - private static final String DEFAULT_VERSION = "0.0"; + private static final String DEFAULT_VERSION = ""; private static final String GAX_VERSION = getLibraryVersion(GaxProperties.class, "version.gax"); private static final String JAVA_VERSION = getRuntimeVersion(); private static final String PROTOBUF_VERSION = @@ -57,6 +57,7 @@ private GaxProperties() {} /** Returns the version of the library that the {@code libraryClass} belongs to */ public static String getLibraryVersion(Class libraryClass) { String version = libraryClass.getPackage().getImplementationVersion(); + System.out.println(version); return version != null ? version : DEFAULT_VERSION; } From fb731ea62cf20d7112f3f554989608baea525b0f Mon Sep 17 00:00:00 2001 From: Blake Li Date: Thu, 16 Apr 2026 23:49:29 -0400 Subject: [PATCH 3/3] Update GaxProperties.java --- .../src/main/java/com/google/api/gax/core/GaxProperties.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/core/GaxProperties.java b/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/core/GaxProperties.java index bb3773075c8e..dbd3ce65622c 100644 --- a/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/core/GaxProperties.java +++ b/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/core/GaxProperties.java @@ -57,7 +57,6 @@ private GaxProperties() {} /** Returns the version of the library that the {@code libraryClass} belongs to */ public static String getLibraryVersion(Class libraryClass) { String version = libraryClass.getPackage().getImplementationVersion(); - System.out.println(version); return version != null ? version : DEFAULT_VERSION; } @@ -65,7 +64,7 @@ public static String getLibraryVersion(Class libraryClass) { * Returns the version of the library that the {@code libraryClass} belongs to, or a property * value in dependencies.properties resource file instead, if the version was not found. The * method is doing I/O operations and is potentially inefficient, the values returned by this - * method are expected to be cached. + * method are expected to be cachedd. */ public static String getLibraryVersion(Class libraryClass, String propertyName) { String version = null;