Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAMEL-19120: Export configurable template #9470

Merged
merged 1 commit into from Mar 7, 2023
Merged

Conversation

Croway
Copy link
Contributor

@Croway Croway commented Mar 6, 2023

Description

Target

  • I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

  • If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

  • I checked that each commit in the pull request has a meaningful subject line and body.
  • I formatted the code using mvn -Pformat,fastinstall install && mvn -Psourcecheck

@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2023

🚫 There are (likely) no components to be tested in this PR

1 similar comment
@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2023

🚫 There are (likely) no components to be tested in this PR

@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2023

🚫 There are (likely) no components to be tested in this PR

InputStream template = catalog.loadResource("camel-jbang", "spring-boot-pom.tmpl");
if (template != null) {
context = IOHelper.loadText(template);
IOHelper.close(template);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IOHelper automatic close, so no need for this

@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2023

Components tested:

Total Tested Failed ❌ Passed ✅
1 1 0 1

@Croway Croway merged commit 2facc57 into apache:main Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants