[Enhancement] Extract validate and build message property methods out of sendMessageActivity into a common util class
- Dominant language
- Java
- Stars
- 22.6k
- Forks
- 12k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 26
Description
### Before Creating the Enhancement Request
- [x] I have confirmed that this should be classified as an enhancement rather than a bug/feature.
### Summary
Extract validate and build message property methods out of sendMessageActivity into a common util class so that it can be used by other modules.
### Motivation
Extract validate and build message property methods out of sendMessageActivity into a common util class so that it can be used by other modules.
### Describe the Solution You'd Like
Change method signatures from protected to public static and extract them into a common util class so that it can be used by other modules.
### Describe Alternatives You've Considered
No alternative.
### Additional Context
_No response_
Contributor guide
Research direction
Start by locating sendMessageActivity and its validate and build message property methods, then inspect how other modules could call them. Extract the methods into a common utility with public static signatures, update existing references, and run the relevant existing tests to verify behavior is unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, distributed-systems
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100