You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/12/11 10:28:53 UTC
[camel] 02/07: (chores) camel-jira: replace raw empty list by generic one
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 0afb5291664c7999d583d334184d607d422e29dd
Author: Gilvan Filho <gi...@gmail.com>
AuthorDate: Fri Dec 9 23:39:48 2022 -0300
(chores) camel-jira: replace raw empty list by generic one
---
.../org/apache/camel/component/jira/consumer/NewIssuesConsumer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-jira/src/main/java/org/apache/camel/component/jira/consumer/NewIssuesConsumer.java b/components/camel-jira/src/main/java/org/apache/camel/component/jira/consumer/NewIssuesConsumer.java
index 4b9459502e0..ec76103d688 100644
--- a/components/camel-jira/src/main/java/org/apache/camel/component/jira/consumer/NewIssuesConsumer.java
+++ b/components/camel-jira/src/main/java/org/apache/camel/component/jira/consumer/NewIssuesConsumer.java
@@ -104,7 +104,7 @@ public class NewIssuesConsumer extends AbstractJiraConsumer {
+ " Will recover by fetching last issue id from JIRA and try again on next poll",
latestIssueId);
latestIssueId = findLatestIssueId();
- return Collections.EMPTY_LIST;
+ return Collections.emptyList();
}
}
}