This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-2.24.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.24.x by this push: new 0fcf55d Update GooglePubsubEndpoint.java (#3404) 0fcf55d is described below commit 0fcf55d16dc9d150daeac7ca174352c21111d6df Author: mricciuti <matt74...@yahoo.fr> AuthorDate: Thu Dec 12 12:09:43 2019 +0100 Update GooglePubsubEndpoint.java (#3404) [CAMEL-14292] remove dependency to repackaged guava --- .../org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java b/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java index 193596f..b0be2c3 100644 --- a/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java +++ b/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java @@ -18,7 +18,6 @@ package org.apache.camel.component.google.pubsub; import java.util.concurrent.ExecutorService; -import com.google.api.client.repackaged.com.google.common.base.Strings; import com.google.api.services.pubsub.Pubsub; import org.apache.camel.Component; import org.apache.camel.Consumer; @@ -84,7 +83,7 @@ public class GooglePubsubEndpoint extends DefaultEndpoint { } public void afterPropertiesSet() throws Exception { - if (Strings.isNullOrEmpty(loggerId)) { + if (loggerId == null || loggerId.length() == 0) { log = LoggerFactory.getLogger(this.getClass().getName()); } else { log = LoggerFactory.getLogger(loggerId);