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 2022/05/27 16:52:35 UTC

[camel] branch main updated: Regen for commit 3e74c0a3ef02c15a0bfac86890b25da6a52e9b4e (#7685)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new e8f881dc12d Regen for commit 3e74c0a3ef02c15a0bfac86890b25da6a52e9b4e (#7685)
e8f881dc12d is described below

commit e8f881dc12d4f869af976580bb7457730bbf58c8
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Fri May 27 18:52:30 2022 +0200

    Regen for commit 3e74c0a3ef02c15a0bfac86890b25da6a52e9b4e (#7685)
    
    Signed-off-by: GitHub <no...@github.com>
    
    Co-authored-by: davsclaus <da...@users.noreply.github.com>
---
 .../src/main/java/org/apache/camel/impl/console/TopDevConsole.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/camel-console/src/main/java/org/apache/camel/impl/console/TopDevConsole.java b/core/camel-console/src/main/java/org/apache/camel/impl/console/TopDevConsole.java
index 549d393dac4..1be105ab4c5 100644
--- a/core/camel-console/src/main/java/org/apache/camel/impl/console/TopDevConsole.java
+++ b/core/camel-console/src/main/java/org/apache/camel/impl/console/TopDevConsole.java
@@ -135,7 +135,8 @@ public class TopDevConsole extends AbstractDevConsole {
                     if (loc != null && mpb.getSourceLineNumber() != null) {
                         int line = mpb.getSourceLineNumber();
                         try {
-                            Resource resource = getCamelContext().adapt(ExtendedCamelContext.class).getResourceLoader().resolveResource(loc);
+                            Resource resource = getCamelContext().adapt(ExtendedCamelContext.class).getResourceLoader()
+                                    .resolveResource(loc);
                             if (resource != null) {
                                 LineNumberReader reader = new LineNumberReader(resource.getReader());
                                 for (int i = 1; i < line + 2; i++) {