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 2023/08/03 19:10:24 UTC
[camel] 02/02: CAMEL-19710: camel-jbang - Run should compile java to default package if project has GAV
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch run-gav
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 0391f1d79c2764d9c57de1e9e1e738d4395cb517
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Aug 3 21:10:12 2023 +0200
CAMEL-19710: camel-jbang - Run should compile java to default package if project has GAV
---
.../main/java/org/apache/camel/dsl/support/SourceLoader.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/dsl/camel-dsl-support/src/main/java/org/apache/camel/dsl/support/SourceLoader.java b/dsl/camel-dsl-support/src/main/java/org/apache/camel/dsl/support/SourceLoader.java
index 0983d1ca695..29e003c5d9f 100644
--- a/dsl/camel-dsl-support/src/main/java/org/apache/camel/dsl/support/SourceLoader.java
+++ b/dsl/camel-dsl-support/src/main/java/org/apache/camel/dsl/support/SourceLoader.java
@@ -16,23 +16,23 @@
*/
package org.apache.camel.dsl.support;
-import org.apache.camel.spi.Resource;
-
import java.io.IOException;
+import org.apache.camel.spi.Resource;
+
/**
* Loader for loading the source code from {@link Resource}.
*
- * Custom {@link SourceLoader} implementations can be plugged into the {@link org.apache.camel.CamelContext} by
- * adding to the {@link org.apache.camel.spi.Registry}.
+ * Custom {@link SourceLoader} implementations can be plugged into the {@link org.apache.camel.CamelContext} by adding
+ * to the {@link org.apache.camel.spi.Registry}.
*/
public interface SourceLoader {
/**
* Loads the source from the given resource
*
- * @param resource the resource
- * @return the source code (such as java, xml, groovy, yaml)
+ * @param resource the resource
+ * @return the source code (such as java, xml, groovy, yaml)
*
* @throws IOException is thrown if error loading the source
*/