The GitHub Actions job "Pull Requests" on 
pekko.git/refactor/java17-modernization-test-examples has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
63ce9e3c7ce0554f98ce5d2f13c7e166901963ff / 虎鸣 <[email protected]>
refactor: modernize more Java test code with Java 17 records

Motivation:
Java 17 introduced records that make Java code more concise by
eliminating boilerplate for data carrier classes.

Modification:
- Convert TransformationJob, TransformationResult, JobFailed to records
  in TransformationMessages
- Convert StatsJob, StatsResult, JobFailed to records in StatsMessages
- Convert AddItem, RemoveItem, Cart, LineItem to records in ShoppingCart
- Convert command/event classes to records in
  AccountExampleWithEventHandlersInState (CreateAccount, Deposit,
  Withdraw, GetBalance, CloseAccount, CurrentBalance, Deposited,
  Withdrawn, AccountClosed)
- Update all field accesses to use record accessor methods
- Update callers (TransformationBackend, StatsService) to use record
  accessor methods

Result:
Test and example Java code is more concise and idiomatic for Java 17+,
reducing ~175 lines of boilerplate across 6 files.

Tests:
sbt javafmtAll (passes)
sbt "docs / Test / compile"
sbt "cluster-sharding-typed / Test / compile"

References:
None - code modernization

Report URL: https://github.com/apache/pekko/actions/runs/27792380931

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to