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-core: fixed warnings about deprecated usages #4202

Merged
merged 1 commit into from Sep 12, 2020

Conversation

orpiske
Copy link
Contributor

@orpiske orpiske commented Sep 11, 2020

  • fixed most usages of deprecated getOut in test code
  • fixed usages of matchesMockWaitTime
  • removed usages of clearBody and clearHeaders methods
  • added suppress warnings to avoid false positives on IntrospectionSupportTest
  • fixed warnings about deprecated Integer constructor
  • fixed warnings about deprecated Long constructor
  • fixed warnings about usages of inOut and inOnly methods
  • fixed usages of deprecated sampling definition methods
  • fixed usages of AbstractAppender constructor

A bit bigger than usual, but follows the same steps as the others. Mostly one liners fixing deprecation warnings.

  • Make sure there is a JIRA issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes.
  • Each commit in the pull request should have a meaningful subject line and body.
  • If you're unsure, you can format the pull request title like [CAMEL-XXX] Fixes bug in camel-file component, where you replace CAMEL-XXX with the appropriate JIRA issue.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Run mvn clean install -Psourcecheck in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.
    Below are the contribution guidelines:
    https://github.com/apache/camel/blob/master/CONTRIBUTING.md

- fixed most usages of deprecated getOut in test code
- fixed usages of matchesMockWaitTime
- removed usages of clearBody and clearHeaders methods
- added suppress warnings to avoid false positives on IntrospectionSupportTest
- fixed warnings about deprecated Integer constructor
- fixed warnings about deprecated Long constructor
- fixed warnings about usages of inOut and inOnly methods
- fixed usages of deprecated sampling definition methods
- fixed usages of AbstractAppender constructor
@orpiske orpiske merged commit 98e0d47 into apache:master Sep 12, 2020
rgannu pushed a commit to rgannu/camel that referenced this pull request Sep 17, 2020
- fixed most usages of deprecated getOut in test code
- fixed usages of matchesMockWaitTime
- removed usages of clearBody and clearHeaders methods
- added suppress warnings to avoid false positives on IntrospectionSupportTest
- fixed warnings about deprecated Integer constructor
- fixed warnings about deprecated Long constructor
- fixed warnings about usages of inOut and inOnly methods
- fixed usages of deprecated sampling definition methods
- fixed usages of AbstractAppender constructor
rgannu pushed a commit to rgannu/camel that referenced this pull request Sep 22, 2020
- fixed most usages of deprecated getOut in test code
- fixed usages of matchesMockWaitTime
- removed usages of clearBody and clearHeaders methods
- added suppress warnings to avoid false positives on IntrospectionSupportTest
- fixed warnings about deprecated Integer constructor
- fixed warnings about deprecated Long constructor
- fixed warnings about usages of inOut and inOnly methods
- fixed usages of deprecated sampling definition methods
- fixed usages of AbstractAppender constructor
@orpiske orpiske deleted the fix-camel-core-warnings branch August 16, 2022 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants