Skip to content

Conversation

@elharo
Copy link
Contributor

@elharo elharo commented Nov 23, 2025

Since Message is a private class, the renderTo method can't be invoked by subclasses or any other class.

@elharo elharo marked this pull request as ready for review November 23, 2025 17:21
Copilot finished reviewing on behalf of elharo November 23, 2025 19:30
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR tightens the encapsulation of the DefaultMessageHolder class by changing the visibility of the renderTo method from protected to private. Since Message is a private inner class and there are no subclasses of DefaultMessageHolder, the method can only be called internally within the class itself.

  • Reduced visibility of renderTo method from protected to private

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

1 participant