Dear Seata Community,
We are planning to apply Spotless to our project and would like to decide
on a consistent code style.
Please take a moment to review each style below and cast your vote.


OPTION 1: Google Java Format (AOSP Style)

- Based on Google's Android Open Source Project formatting standards
- Most widely adopted formatting style in the Java community
- Strict 100-character line limit
- Consistent indentation and spacing rules
- Well-established and battle-tested across many open source projects
- Reference implementation:
https://github.com/YongGoose/incubator-seata/pull/6


OPTION 2: Palantir Java Format

- Built upon Google's formatter but addresses some of its limitations
- More flexible handling of method chaining and fluent APIs
- Better formatting for complex lambda expressions and streams
- Improved readability for certain coding patterns
- Less restrictive in some formatting scenarios while maintaining
consistency
- Reference implementation:
https://github.com/YongGoose/incubator-seata/pull/7


COMPARISON SUMMARY

Popularity: Google-AOSP is more widely adopted in the Java ecosystem
Flexibility: Palantir offers more nuanced formatting for modern Java
patterns


VOTING PROCESS

This vote will remain open for 72 hours (3 days) from the time of this
email.
Voting period: June 6, 2025 - June 9, 2025 23:59 UTC
Please reply to this email with your preference.


Best regards,
Yongjun Hong / github : YongGoose

Reply via email to