Skip to content

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