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
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.

@elharo elharo merged commit 9be41fc into master Dec 8, 2025
37 checks passed
@elharo elharo deleted the private branch December 8, 2025 13:09
@github-actions github-actions bot added this to the 3.8.1 milestone Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants