You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2023/11/29 10:07:10 UTC
(camel) branch camel-3.x updated: CAMEL-20115: Fix checkstyle issues
This is an automated email from the ASF dual-hosted git repository.
nfilotto pushed a commit to branch camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.x by this push:
new b9b217efa5f CAMEL-20115: Fix checkstyle issues
b9b217efa5f is described below
commit b9b217efa5f2c5246e0d0ca8bc73de466acf9594
Author: Nicolas Filotto <nf...@talend.com>
AuthorDate: Wed Nov 29 11:06:25 2023 +0100
CAMEL-20115: Fix checkstyle issues
---
.../src/main/java/org/apache/camel/component/quartz/QuartzEndpoint.java | 2 +-
.../camel/component/quartz/QuartzCronRouteWithStartDateEndDateTest.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/QuartzEndpoint.java b/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/QuartzEndpoint.java
index b5cd8669fdd..510b180ee72 100644
--- a/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/QuartzEndpoint.java
+++ b/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/QuartzEndpoint.java
@@ -439,7 +439,7 @@ public class QuartzEndpoint extends DefaultEndpoint {
}
// calculate whether the trigger can be triggered in the future
Date ft = ot.computeFirstFireTime(cal);
- return (ft == null && ignoreExpiredNextFireTime);
+ return ft == null && ignoreExpiredNextFireTime;
}
private boolean hasTriggerChanged(Trigger oldTrigger, Trigger newTrigger) {
diff --git a/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzCronRouteWithStartDateEndDateTest.java b/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzCronRouteWithStartDateEndDateTest.java
index daadcb126d5..aee0522abb0 100644
--- a/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzCronRouteWithStartDateEndDateTest.java
+++ b/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzCronRouteWithStartDateEndDateTest.java
@@ -59,7 +59,7 @@ public class QuartzCronRouteWithStartDateEndDateTest extends BaseQuartzTest {
// triggers every 1th second at precise 00,01,02,03..59 with startAt and endAt exactly 2 second apart.
// configuration will create a maximum of three messages
fromF("quartz://myGroup/myTimerName?cron=0/1 * * * * ?&trigger.startAt=%s&trigger.endAt=%s",
- dateFormat.format(startDate), dateFormat.format(endDate)).to("mock:result");
+ dateFormat.format(startDate), dateFormat.format(endDate)).to("mock:result");
}
};
}