You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/01/21 10:06:40 UTC

[camel] 02/02: Fixed CS

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

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

commit 43a4fd81d23bba7a0292fa07879236c14803b0f0
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Jan 21 11:05:57 2021 +0100

    Fixed CS
---
 .../camel/startup/jfr/FlightRecorderStartupStepRecorder.java | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/components/camel-jfr/src/main/java/org/apache/camel/startup/jfr/FlightRecorderStartupStepRecorder.java b/components/camel-jfr/src/main/java/org/apache/camel/startup/jfr/FlightRecorderStartupStepRecorder.java
index 333a882..f3a4e96 100644
--- a/components/camel-jfr/src/main/java/org/apache/camel/startup/jfr/FlightRecorderStartupStepRecorder.java
+++ b/components/camel-jfr/src/main/java/org/apache/camel/startup/jfr/FlightRecorderStartupStepRecorder.java
@@ -44,6 +44,12 @@ public class FlightRecorderStartupStepRecorder extends DefaultStartupStepRecorde
     private Recording rec;
     private FlightRecorderListener frl;
 
+    public FlightRecorderStartupStepRecorder() {
+        setEnabled(true);
+        // pre-empty enable recording so we have as early as possible recording started
+        setRecording(true);
+    }
+
     @Override
     public void doStart() throws Exception {
         super.doStart();
@@ -112,12 +118,6 @@ public class FlightRecorderStartupStepRecorder extends DefaultStartupStepRecorde
         }
     }
 
-    public FlightRecorderStartupStepRecorder() {
-        setEnabled(true);
-        // pre-empty enable recording so we have as early as possible recording started
-        setRecording(true);
-    }
-
     @Override
     public StartupStep createStartupStep(String type, String name, String description, int id, int parentId, int level) {
         return new FlightRecorderStartupStep(name, id, parentId, level, type, description);