You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gn...@apache.org on 2020/03/13 14:40:02 UTC

[camel] 01/09: Remove some warnings

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

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

commit b003736264dcf235208d45c97671fc72685c9184
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Wed Mar 11 11:10:55 2020 +0100

    Remove some warnings
---
 .../src/main/java/org/apache/camel/support/EventHelper.java              | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/camel-support/src/main/java/org/apache/camel/support/EventHelper.java b/core/camel-support/src/main/java/org/apache/camel/support/EventHelper.java
index c27a7a2..4dd349a 100644
--- a/core/camel-support/src/main/java/org/apache/camel/support/EventHelper.java
+++ b/core/camel-support/src/main/java/org/apache/camel/support/EventHelper.java
@@ -35,6 +35,7 @@ import org.slf4j.LoggerFactory;
 /**
  * Helper for easily sending event notifications in a single line of code
  */
+@SuppressWarnings("UnusedReturnValue")
 public final class EventHelper {
 
     // This implementation has been optimized to be as fast and not create unnecessary objects or lambdas.