He-Pin opened a new pull request, #1751:
URL: https://github.com/apache/pekko-connectors/pull/1751
### 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 `object X { def main(args:
Array[String]): Unit = { ... } }` in doc example and test files.
### 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]