Skip to content

Commit

Permalink
CAMEL-19998: cleanup unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
orpiske committed Oct 19, 2023
1 parent 20a60fd commit 2078f47
Showing 1 changed file with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import java.io.IOException;
import java.io.InputStream;
import java.lang.management.ManagementFactory;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
Expand Down Expand Up @@ -2112,6 +2111,10 @@ public void doBuild() throws Exception {
}
}

/**
* Internal API to reset build time. Used by quarkus.
*/
@SuppressWarnings("unused")
protected void resetBuildTime() {
// needed by camel-quarkus
buildTaken = 0;
Expand Down Expand Up @@ -3288,15 +3291,6 @@ void enableDebugging(DebuggerFactory df) throws Exception {
}
}

private static String getJvmUptime() {
try {
return TimeUtils.printDuration(ManagementFactory.getRuntimeMXBean().getUptime());
} catch (Exception e) {
// ignore
}
return null;
}

@Override
public InflightRepository getInflightRepository() {
return camelContextExtension.getInflightRepository();
Expand Down

0 comments on commit 2078f47

Please sign in to comment.