You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "He-Pin (via GitHub)" <gi...@apache.org> on 2026/07/06 06:29:28 UTC
[PR] refactor: replace deprecated extends App with explicit main method [pekko-persistence-dynamodb]
He-Pin opened a new pull request, #334:
URL: https://github.com/apache/pekko-persistence-dynamodb/pull/334
### Motivation
`extends App` is deprecated in Scala 3. Replace with explicit `def main(args: Array[String]): Unit` method for forward compatibility.
### Modification
Replace `object X extends App with Trait { ... }` with `object X extends Trait { def main(args: Array[String]): Unit = { ... } }` in WriteThroughputBench.
### Result
No more usage of deprecated `scala.App` trait. Code is compatible with Scala 3.
### Tests
Not run - docs only
### References
None - Scala 3 compatibility
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] refactor: replace deprecated extends App with explicit main method [pekko-persistence-dynamodb]
Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin merged PR #334:
URL: https://github.com/apache/pekko-persistence-dynamodb/pull/334
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org