Skip to content

[CAMEL-22555] non-varargs call of varargs method with inexact argument type for last parameter#21992

Open
JinyuChen97 wants to merge 1 commit intoapache:mainfrom
JinyuChen97:camel-22555
Open

[CAMEL-22555] non-varargs call of varargs method with inexact argument type for last parameter#21992
JinyuChen97 wants to merge 1 commit intoapache:mainfrom
JinyuChen97:camel-22555

Conversation

@JinyuChen97
Copy link
Contributor

https://issues.apache.org/jira/browse/CAMEL-22555

minor fix for the warning issue

@github-actions
Copy link
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run
  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot although they are normally detected and executed by CI.
  • You can label PRs using build-all, build-dependents, skip-tests and test-dependents to fine-tune the checks executed by this PR.
  • Build and test logs are available in the summary page. Only Apache Camel committers have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

Copy link
Contributor

@gnodet gnodet left a comment

Choose a reason for hiding this comment

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

LGTM. The (Object) cast correctly disambiguates the varargs call when result is an array type, fixing the compiler warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants