This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 7cdbba03b81 Regen for commit d87400fd73539b4790503d57f566f388c7cea975
7cdbba03b81 is described below

commit 7cdbba03b81defd1e94a82c897d2436a270f0ba2
Author: zhfeng <[email protected]>
AuthorDate: Tue Jul 12 13:03:32 2022 +0000

    Regen for commit d87400fd73539b4790503d57f566f388c7cea975
    
    Signed-off-by: GitHub <[email protected]>
---
 .../google/secret/manager/GoogleSecretManagerPropertiesFunction.java   | 3 ++-
 .../integration/GoogleSecretManagerPropertiesNoEnvSourceTestIT.java    | 1 -
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/components/camel-google/camel-google-secret-manager/src/main/java/org/apache/camel/component/google/secret/manager/GoogleSecretManagerPropertiesFunction.java
 
b/components/camel-google/camel-google-secret-manager/src/main/java/org/apache/camel/component/google/secret/manager/GoogleSecretManagerPropertiesFunction.java
index 2fe3b34b064..3a4defdc662 100644
--- 
a/components/camel-google/camel-google-secret-manager/src/main/java/org/apache/camel/component/google/secret/manager/GoogleSecretManagerPropertiesFunction.java
+++ 
b/components/camel-google/camel-google-secret-manager/src/main/java/org/apache/camel/component/google/secret/manager/GoogleSecretManagerPropertiesFunction.java
@@ -178,7 +178,8 @@ public class GoogleSecretManagerPropertiesFunction extends 
ServiceSupport implem
             throws JsonProcessingException {
         String returnValue = null;
         try {
-            SecretVersionName secretVersionName = 
SecretVersionName.of(projectId, key, (ObjectHelper.isNotEmpty(version) ? 
version:"latest"));
+            SecretVersionName secretVersionName
+                    = SecretVersionName.of(projectId, key, 
(ObjectHelper.isNotEmpty(version) ? version : "latest"));
             AccessSecretVersionResponse response = 
client.accessSecretVersion(secretVersionName);
             if (ObjectHelper.isNotEmpty(response)) {
                 returnValue = response.getPayload().getData().toStringUtf8();
diff --git 
a/components/camel-google/camel-google-secret-manager/src/test/java/org/apache/camel/component/google/secret/manager/integration/GoogleSecretManagerPropertiesNoEnvSourceTestIT.java
 
b/components/camel-google/camel-google-secret-manager/src/test/java/org/apache/camel/component/google/secret/manager/integration/GoogleSecretManagerPropertiesNoEnvSourceTestIT.java
index 7d05afcae54..1400faec59e 100644
--- 
a/components/camel-google/camel-google-secret-manager/src/test/java/org/apache/camel/component/google/secret/manager/integration/GoogleSecretManagerPropertiesNoEnvSourceTestIT.java
+++ 
b/components/camel-google/camel-google-secret-manager/src/test/java/org/apache/camel/component/google/secret/manager/integration/GoogleSecretManagerPropertiesNoEnvSourceTestIT.java
@@ -20,7 +20,6 @@ import org.apache.camel.FailedToCreateRouteException;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.test.junit5.CamelTestSupport;
 import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable;
 import org.junit.jupiter.api.condition.EnabledIfSystemProperties;
 import org.junit.jupiter.api.condition.EnabledIfSystemProperty;
 

Reply via email to