Add support for guard clauses in Java 21 switch expressions by TheCK · Pull Request #988 · google/google-java-format (original) (raw)

@TheCK

@TheCK mentioned this pull request

Nov 21, 2023

cushon

@TheCK

@TheCK

copybara-service Bot pushed a commit that referenced this pull request

Dec 7, 2023

@TheCK

This PR adds support for switch statements where a case has a guard clause.

See Issue #983

Fixes #988

FUTURE_COPYBARA_INTEGRATE_REVIEW=#988 from TheCK:master 4771486 PiperOrigin-RevId: 588901660

eholmer pushed a commit to palantir/palantir-java-format that referenced this pull request

Oct 21, 2024

@TheCK @eholmer-pltr

This PR adds support for switch statements where a case has a guard clause.

See Issue #983

Fixes #988

COPYBARA_INTEGRATE_REVIEW=google/google-java-format#988 from TheCK:master 4771486db7d8aab84eb4ecf8e68af2612d0c2b5c PiperOrigin-RevId: 588913297

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})