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

Extract unnecessary logic out of the synchronized #2938

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

asoto-iov
Copy link
Contributor

Description

Motivation and Context

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • Tests for the changes have been added (for bug fixes / features)
  • Requires Activation Code (Hard Fork)
  • Other information:

Copy link

github-actions bot commented Jan 17, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

@asoto-iov asoto-iov requested a review from a team January 17, 2025 11:39
@asoto-iov asoto-iov force-pushed the improve_ethModule_data_parsing branch from 02c6285 to be1a51f Compare January 20, 2025 20:51
@Vovchyk
Copy link
Contributor

Vovchyk commented Jan 22, 2025

@asoto-iov , could you elaborate a bit on why you did those extra changes? Why not just moving that one line outside the synchronized block?

@asoto-iov
Copy link
Contributor Author

@asoto-iov , could you elaborate a bit on why you did those extra changes? Why not just moving that one line outside the synchronized block?

Just removing the parameter processing out of the synchronized block.

Co-authored-by: Vovchyk <[email protected]>
@Vovchyk
Copy link
Contributor

Vovchyk commented Jan 23, 2025

@asoto-iov , could you elaborate a bit on why you did those extra changes? Why not just moving that one line outside the synchronized block?

Just removing the parameter processing out of the synchronized block.

but why wasn't it enough to move one line up to have that param processing outside the block? Did you try to fix anything else besides that? or was it just refactoring attempt?

@Vovchyk
Copy link
Contributor

Vovchyk commented Jan 23, 2025

@asoto-iov , could you elaborate a bit on why you did those extra changes? Why not just moving that one line outside the synchronized block?

Just removing the parameter processing out of the synchronized block.

but why wasn't it enough to move one line up to have that param processing outside the block? Did you try to fix anything else besides that? or was it just refactoring attempt?

LGTM, after discussing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants