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

remove code smells #1220

Merged
merged 2 commits into from
Oct 12, 2024
Merged

Conversation

bbortt
Copy link
Collaborator

@bbortt bbortt commented Oct 1, 2024

removed some code "smells"...

  • unused imports
  • unnecessary assignments or initializations
  • usages of Arrays#asList with single arguments
  • inner classes that weren't static

additionally:

@bbortt bbortt added Type: Maintenance Prio: Medium State: Review If pull-request has been opened an is ready/in review labels Oct 1, 2024
@bbortt bbortt requested a review from christophd October 1, 2024 19:42
@bbortt bbortt self-assigned this Oct 1, 2024
@bbortt
Copy link
Collaborator Author

bbortt commented Oct 1, 2024

ok, sorry. this requires some more work.

@bbortt bbortt force-pushed the fix/remove-code-smells branch 3 times, most recently from 389fcf8 to 3f086a9 Compare October 2, 2024 16:38
@bbortt
Copy link
Collaborator Author

bbortt commented Oct 2, 2024

@christophd can you please check that I did allright in the second commit? I think the first is less critical. thanks for the review!

Copy link
Member

@christophd christophd left a comment

Choose a reason for hiding this comment

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

LGTM thanks

@bbortt bbortt force-pushed the fix/remove-code-smells branch from 3f086a9 to f6b9d2b Compare October 10, 2024 07:38
@bbortt
Copy link
Collaborator Author

bbortt commented Oct 10, 2024

@christophd I've rebased it and fixed the merge conflicts.

@christophd
Copy link
Member

CI job is flaky. I'll have a look

@bbortt
Copy link
Collaborator Author

bbortt commented Oct 11, 2024

@christophd let me know if you've fixed it. #1232 would be a good addition to the next release as well.

* unused imports
* unnecessary assignments or initializations
* usages of `Arrays#asList` with single arguments
* inner classes that weren't static
additionally, make sure all task executors are being shutdown properly.
@bbortt bbortt force-pushed the fix/remove-code-smells branch from f6b9d2b to e4194d5 Compare October 12, 2024 09:37
@bbortt bbortt merged commit 1f7d369 into citrusframework:main Oct 12, 2024
1 check passed
@bbortt bbortt deleted the fix/remove-code-smells branch October 12, 2024 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prio: Medium State: Review If pull-request has been opened an is ready/in review Type: Maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants