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

chore: tidy up implementation of PhasedFusingActorMaterializer #1617

Merged
merged 1 commit into from
Dec 22, 2024

Conversation

He-Pin
Copy link
Member

@He-Pin He-Pin commented Dec 21, 2024

Motivation:
Code clean-up with IDEA

Modification:
remove s and make fields private.

@He-Pin He-Pin added the t:stream Pekko Streams label Dec 21, 2024
@He-Pin He-Pin added this to the 1.1.3 milestone Dec 21, 2024
@pjfanning pjfanning changed the title chore: fix some IDEA hints. chore: tidy up implementation of PhasedFusingActorMaterializer Dec 21, 2024
Copy link
Member

@raboof raboof left a comment

Choose a reason for hiding this comment

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

Removing s and making return values explicit is nice.

I'm not sure about adding private: the advantage is that it reduces the scope of the variable, but it's already in a @InternalApi private[pekko] final class so I'm not sure it's worth the noise. I'm OK with it though.

@He-Pin He-Pin merged commit 65fc751 into apache:main Dec 22, 2024
8 checks passed
@He-Pin He-Pin deleted the privateMember branch December 22, 2024 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:stream Pekko Streams
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants